.htaccess file not working

SynGamer

New member
Joined
Jan 1, 2015
Messages
1
I recently installed WordPress on my domain and had to create the htaccess file manually. I entered the usual snippet WP suggests, set the permissions to 644, but it's not working. Everytime I try to access http://dustinbarton.com/projects/ I get the following error:

Not Found
The requested URL /projects/ was not found on this server.

I have my htacess file located in the root WP folder, as well as the public_html folder, neither seems to be working. The snippet I'm using is below:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
 
Unless you have 2 WP installations, you need to put the .htaccess in your public_html folder. Did you try another browser? Sometimes even .htaccess actions (like redirects) are being cached by your browser.
 
Back
Top