The requested URL /contact-us/ was not found on this server.

April 19, 2013 7k views
Getting this error on my wordpress site. Can anyone assist.
4 Answers
Did you have add these lines in your .httaccess:

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


# END WordPress
I find I'm still having problems, getting the same error. I looked at my .htaccess file and all the information is all messed up. Does that matter? I don't seem able to create a .htaccess file via permalinks either. I think this is where the problem lies.
If you're still having an issue, if you upload the contents of your .htaccess to pastebin (rather than posting it all here) and post the link.

Might also be worth checking the permissions on the .htaccess to ensure Wordpress can create it dynamically.
Have another answer? Share your knowledge.