• Resolved andyz

    (@andyz)


    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 WordPress

    However 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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    if I use any permalink structure that isn’t default then the problem comes back.

    If the default works, then try reading Using_Permalinks before setting a custom permalink structure again.

    Thread Starter andyz

    (@andyz)

    I have tried everything on that page that is within my ability and the problem still persists.

    I will keep trying but if there are any other suggestions/ideas I am open to them

    Thread Starter andyz

    (@andyz)

    After combing through the page Tara linked me to once more I found that if I included “index.php” to a custom permalink structure and include the other elements I wanted such as this..

    /index.php/%year%/%monthnum%/%day%/%postname%/

    The permalinks would work once again. Not the ideal way to do it but it will have to do for now. Thank you to everyone who helped me out with this issue!

    I am experiencing a similar issue. The pretty permalink setting refuses to pull in the post title. Will only pull in the post #. I just tried your solution and it pulls in everything BUT the post name again.

    This was working fine yesterday. It stopped working after I made a post today.

    Going to do some more digging. However, if you happen to determine a solve for your initial issue, it would be greatly appreciated if you could post it back here. Thanks!

    Moderator t-p

    (@t-p)

    @lneary1232,

    If you noticed this is a “resolved” thread.

    My suggestion to you would be to start your own thread to get full attention to your specific issue. Despite any similarity in symptoms, your issue is likely to be completely different because of possible differences in physical servers, accounts, hosts, plugins, theme, configurations, etc. Thus one problem, on one setup is not indicative of the functionality and reliability of an application as a whole. So, to get the best attention to your specific issue as you deserve, please review how and where to post in this forum: https://codex.www.ads-software.com/Forum_Welcome#Where_To_Post

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Permalinks not working’ is closed to new replies.