• For some reason, only when we have Yoast SEO installed, our .htaccess file keeps getting altered, bringing our whole site down with a 500 Internal Server Error. We’re currently hosted on WP Engine. We’ve disabled all plugins and narrowed the issue down to this plugin.

    Our .htaccess file is pretty straight forward: the standard WordPress permalink rules and around 500+ 301 redirects are in place. Randomly the site will break and we’ll find the .htaccess file has been changed. For example our staging site just went down (https://pse.staging.wpengine.com/) and around 40 lines in the middle of our 301s were randomly removed. I’m seeing this error in my htaccess when i turn on ‘Show Invisible Characters’ in my Coda 2 editor: https://www.dropbox.com/s/x7u62zgd2o5b4z7/Screenshot%202015-08-29%2011.12.19.png?dl=0

    Naturally I would simply change the permissions on my htaccess to 444 to prevent anything to write to it, however this is not something my host WP Engine allows.

    I checked out the plugin and saw that on /wp-content/plugins/wordpress-seo/admin/views/tool-file-editor.php you’ll see the function within the first 100 lines of code. It looks like, during certain changes/updates from the plugin, it attempts to update the .htaccess file. Is there any way to disable this?

    Has anyone else has this issue and taken steps to fix it? Any help at all here would be appreciated! We enjoy this plugin and would love to continue using it on our site.

    Thanks!

    https://www.ads-software.com/plugins/wordpress-seo/

  • The topic ‘Yoast SEO Plugin & 500 Internal Server Error’ is closed to new replies.