Permalinks not working
-
I recently had a problem with my self hosted wordpress site motorworldhype dot com when I noticed my traffic took a significant drop (96% in one day) after I updated to 4.1.1.
I then discovered the reason for the traffic drop was that my permalinks for my individual blog posts stopped working. The main site would load up just fine but clicking on any individual post would lead to a 404 error.
I changed my permalink structure to “default” in my wordpress settings and that stopped the 404 errors for individual posts. HOWEVER if I use any permalink structure that isn’t default then the problem comes back. This is of course very bad for SEO and I want to go back to my previous permalink structure.
I did some digging and saw that the problem may be with my htaccess file and that I needed to add the following code to 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]
</IfModule>
# END WordPressHowever when I did that it just made my main site stop loading as well so I removed the code.
Currently this is what is in my htaccess file:
DirectoryIndex index.php index.html index.htm index.cgi index.asp
Can anyone provide any further suggestions or ideas that may help me with this problem?
To recap: my permalinks only work on “default” mode. Any other mode will cause individual post links to have 404 errors.
Thank you
- The topic ‘Permalinks not working’ is closed to new replies.