Support » Plugin: Google XML Sitemaps » Removing your plugin does not remove the sitemap rewrite

  • Whenever I install your plugin, you add 4 entries to the wp_options entry named "rewrite_rules"

    s:34:"sitemap(-+([a-zA-Z0-9_-]+))?\.xml$";
    s:40:"index.php?xml_sitemap=params=$matches[2]";
    s:38:"sitemap(-+([a-zA-Z0-9_-]+))?\.xml\.gz$";
    s:49:"index.php?xml_sitemap=params=$matches[2];zip=true";
    s:35:"sitemap(-+([a-zA-Z0-9_-]+))?\.html$";
    s:50:"index.php?xml_sitemap=params=$matches[2];html=true";
    s:38:"sitemap(-+([a-zA-Z0-9_-]+))?\.html.gz$";
    s:59:"index.php?xml_sitemap=params=$matches[2];html=true;zip=true";

    Whenever I uninstall your plugin, those rules stay in my wp_options table and going to sitemap.xml redirects to sitemap.xml/ and shows my home page. Not too good to my point of view. The .html has the same problem and the .gz also show the home page.

    Whenever I deactivate your plugin I expect those entries to be removed.

    Thank you.
    Alex

  • The topic ‘Removing your plugin does not remove the sitemap rewrite’ is closed to new replies.