.htaccess and permalink woes (2 posts)

  1. horlicks
    Posted 3 years ago #

    So I've been happily running WP on about 10 sites at my webhost. Most run with the standard permalink structure but about 3 run with custom structures. They have always worked fine with no issues. Then last night my wife went in and manually changed the slug for one of her posts and noticed all of her pages started to 404. She called me and I looked at it and I have tried just about everything I could find on the web and honestly am ready to blow up the site!

    So now, since that happened, no permalinks apart from the default work on any of my 10 sites. I have gone in deleted my .htaccess file, recreated a new one with the following and uploaded it:

    # 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]
    # END WordPress

    Still no dice. My host is Bluehost who I have never had problems with before. I still called them up to see if there was some sort of mod-rewrite issue but no dice, they say everything is working as it should on their end. I checked the wp_options for my wife's blog and the permalinks structure listed there always reflects what is in the admin options panel. I tried toggling to default, deleting .htaccess and then toggling back to the custom she uses, no dice. No custom formats work, only default.

    When I delete .htaccess and then go back into wordpress and change to a custom structure no new .htaccess is generated. Is this normal? When I saved the permalinks in the admin no errors popped up about writing a new .htaccess. In addition I tried to hack the standard .htaccess slightly and added a 404 redirect to a new page I uploaded in the root but it ignored that and kept on using the bluehost default one. Its almost as though WordPress is just assuming .htaccess is right but that it isn't checking for it. I read somewhere that WP since 3.0 handles permalink and redirect stuff internally but I would assume it still needs the base .htaccess to be there?

    I have literally scanned 20-30 pages on google and WordPress forums with scores of people with similar issues but none of the fixes listed there seem to work and I've tried a bunch. Can anyone help me before I go crazy? Any help would be much appreciated!

Topic Closed

This topic has been closed to new replies.

About this Topic