trouble with htaccess file
-
Hi,
I didn’t have a .htacces file but created one to enable pretty urls, I created a custom structure and then pasted the code that WordPress generated into my .htaccess. However now, images in my header.php and footer.php only display on my homepage, they do not display on any other page. Before I created the file all my header and footer images displayed correctly!
.htaccess code looks like this:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>Is there a specific location where I should locate the .htaccess file? Do I have something missing from the file? Any help would be great! Thanks!
- The topic ‘trouble with htaccess file’ is closed to new replies.