I've just started to experient with buying domains with good PR and the sites that I'm buying happen to come built with Word Press.  I've never used Word Press before but so far I'm really impressed!  Previously I have used BlogEngine.Net which seems quite primitive in comparison with the power of WP.  Although moving WP sites from one domain to another came with it's own issues.

Anyway the point of this post was to explain how to fix the 404 error:

Not Found

The requested document was not found on this server.


Web Server at DOMAINNAME.COM

Being new to WP I had no idea where to look but after some sniffing around I found that I had to reset the permalink structure:

- Login in to WP admin
- Settings -> Permalinks -> Save Changes

Still this did not work!

I soon discovered that my the WP installer did not create a .htaccess file which is required on the root of the site:
 # BEGIN WordPress  
 <IfModule mod_rewrite.c>  
 RewriteEngine On  
 RewriteBase /  
 RewriteRule ^index\.php$ - [L]  
 RewriteCond %{REQUEST_FILENAME} !-f  
 RewriteCond %{REQUEST_FILENAME} !-d  
 RewriteRule . /index.php [L]  
 </IfModule>  
   
 # END WordPress  

I also found that changing the Permalink structure from it's original settings to another, saving, reseting back forced the permalink structure to reset correctly.


 


Posted in: WordPress  Tags:

Calendar

«  May 2012  »
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910
View posts in large calendar

Recent Comments

Banners

Theme Grabber
Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2012 Dan Gibbons .Net Developer