• Resolved Joe B

    (@joelogic)


    Hi

    I have installed this plugin on a site, as soon as it was activated, the site was no longer accessible. I checked the site via FTP, and it appears that my (custom) .htaccess was completely overwritten, and the ‘new .htaccess file caused a 403 error.

    There were 2 new lines written to the new .htacces file, and all the rest of the information deleted, here are the lines:-

    RewriteCond /home/******/public_html/wp-content/sitemaps%{REQUEST_URI} -f
    RewriteRule \.xml(\.gz)?$ /wp-content/sitemaps%{REQUEST_URI} [L]

    I am not an (.htaccess) expert, but something doesn’t look right here. (Please note that I have hidden the full path on the first line with asterisks, for privacy reasons).

    Any idea why the plugin brings the site down? Thanks.

    https://www.ads-software.com/plugins/google-sitemap-generator/

  • The topic ‘Plugin Overwrites .htacces file causing a 403 error.’ is closed to new replies.