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.
25663bd9-f5c6-4ecc-a390-66cbe2e03f01|0|.0