Permalinks not working
-
I’m working on a blog that was installed using GoDaddy’s one-click install on a site into a “blog” directory. There was no .htaccess generated (yes, I can see hidden files). I tried adding one in blog directory and then setting the permalink structure, but I get the message in the dashboard that my .htaccess file can’t be modified. It’s looking in the root, not the WP directory. When I tried simply adding the WordPress rules to the root level .htaccess, it worked, but whenever an incorrect url is typed in for the site at the root level it no longer returns the custom error page, but instead goes to the blog home page. This is the code that I added:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /blog/index.php [L] </IfModule>
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Permalinks not working’ is closed to new replies.