Permalink errors .htaccess
-
Before anyone asks, I did read over the recent thread with a similar title, but it doesn’t seem to be the same problem.
I have my blog installed in the /blog/ folder but have pages appearing in the index. Thus, in the General Settings, WP address is /blog/ and blog address is /. Additionally, my index page displays a static page (“home”) and the WP blog is contained with a page called “blog”, so /blog/ is also the main of the WP blog. I hope that’s not ridiculously confusing.
Since my WP blog entries are actually on /blog/, I’ve set my permalink structure as: /blog/%year%/%monthnum%/%postname%/
This seems to work fine for me, but several site visitors have reported not being able to access the permalinks for an entry without first getting several errors. As in, they’ll click the link, get an error, refresh, and then it’ll be fine. I couldn’t duplicate this on Firefox (3.0.10) or Chrome, but when I took it into IE 7, I got a 404 error on permalinks. Refresh and it’s fine.
Why aren’t the permalinks working the first time around? And why does the error seem to be IE-specific?
When I initially set up the site, I had trouble writing my .htaccess files from the admin interface. Even though it says changes are saved when I change permalink structures, they aren’t really. I had to edit the .htaccess myself. In any case, the .htaccess file on the index reads:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . / [L]
</IfModule>
# END WordPressThere’s also an .htaccess file in /blog/ that I don’t think I put there myself.. It contains:
RewriteCond %{HTTP_HOST} ^blog.deadend-detour.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.blog.deadend-detour.com$
RewriteRule ^.*$ “http\:\/\/www\.deadend\-detour\.com\/blog\/” [R=301,L]
- The topic ‘Permalink errors .htaccess’ is closed to new replies.