Support » Plugin: Yoast SEO » 404 errors on posts when plugin is enabled

  • Resolved ptted


    Yoast WordPress SEO plugin – Version
    Wordpress 3.5
    Twenty Ten theme version 1.2

    Since last plugin update, I have randomly been experiencing 404 errors for the blog posts on my site. Every blog post gives 404. Basically, it happens to every page on my site except the homepage.

    I log into dashboard and disable WordPress SEO plugin. Then if I reload my homepage afterwards, I can click the links to my inner posts and they load fine.

    If I re-enable the Yoast WordPress SEO plugin, everything is fine for a while. At some point within the next 24 hours the posts start giving 404 errors again.

    I can fix it immediately by disabling the plugin. And then again, if I re-enable the plugin, it works fine for an undetermined amount of time. This problem did not start happening until after this most recent update of the plugin that I installed through the normal WordPress update process.

Viewing 5 replies - 1 through 5 (of 5 total)
  • ptted


    Here is what else I did.

    I tried disabling all other plugins so that the only plugin active was the Yoast Worpdress SEO plugin. The problem remained.

    I tried reinstalling the plugin and the problem still remains.

    Every time I start getting 404 errors, the problem is immediately corrected as soon as I disable the WordPress SEO plugin.

    Then I can re-enable it and it will work fine for some undetermined amount of time. Sometimes it is just a few hours. Sometimes it will work for more than a day. Then the problem starts happening again.

    Everything was fine prior to installing the latest update – Version

    For now I am forced to disable the plugin because I don’t want Google to remove my pages from the SERPs for having too many 404 errors.



    Looks like this person is having the same problem as I am



    I thought I had version installed, but I guess it was

    So, just to be clear..

    I am not sure if the problem actually started with or



    Found the problem:

    I assumed that it was the Yoast WordPress SEO plugin causing my problem because if you disabled the plugin, my issue would go away.

    As it turns out, it wasn’t the plugin’s fault at all. My site had been hacked. My .htaccess file had been altered and there were several malicious backdoor PHP files in the root folder for my website.
    What was happening was that when I disabled and re-enabled the Yoast WordPress SEO plugin, the plugin was disrupting the redirect process that the hacker had setup on my site. That was why the problem disappeared when the plugin was disabled. After an undetermined period of time, the hacker would revisit my site and do his damage again. That is when my inner pages started getting the 404 errors.

    The reason I was able to detect the hack was because I had disabled the Yoast plugin and left it disabled for more than one day. When I did that, the hacker then was able to take full control of the redirects and start sending my inner page traffic to his Russian spam/malware links. Once I saw my pages redirecting to spam – that is when the light bulb in my head lit up and told me it was a hack and not this plugin at all.

    The way that the hacker got into my site was by exploiting a vulnerability in the TimThumb file that was being used by a different plugin on my site. I have since corrected the vulnerability and also removed the infection. Since then the Yoast WordPress SEO plugin has been operating as well as it always had prior to this incident.

    My apologies go out to anyone who expended brain resources trying to figure out what was wrong with this plugin on my site. It was not the plugins fault at all. I am making a mental note for future reference to also check for malware/hacks the next time I suspect that a plugin is malfunctioning.

    You would think that checking for malware or hacks would be common sense. Yet, my natural troubleshooting tendencies initially had me convinced it was this plugins fault. Ahhh…computers…

    I hope my post helps someone else solve their issue. Beware of the .htaccess hack.

    This site helped me identify the hack –



    I have same problem 🙁
    and no solution until now

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘404 errors on posts when plugin is enabled’ is closed to new replies.