Support » Plugin: Google XML Sitemap Generator » xmlsitemap.xml to sitemap.xml

  • Resolved zelya

    (@zelya)



    Hello,
    How can I change the name of the sitemap from thish xmlsitemap.xml to this sitemap.xml

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author XmlSitemapGenerator

    (@xmlsitemapgenerator)

    Hi,

    We don’t have a feature to do this at the minute, but it is on the request list.

    You would need to edit the plugin code.

    In core.php there are two places it would need to change :

    Line 150
    echo “\nSitemap: ” . $base . “xmlsitemap.xml\n”;

    Line 176
    $newRules[‘xmlsitemap\.xml$’] = ‘index.php?xml-sitemap=xml’;

    Dan

    zelya

    (@zelya)

    Thank you Dan, it worked!

    Plugin Author XmlSitemapGenerator

    (@xmlsitemapgenerator)

    Great, just remember if you update the plugin it will overwrite the changes.

    Yeah, I’d like to vote for this as a possibility as well (either via settings page or functions.php).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘xmlsitemap.xml to sitemap.xml’ is closed to new replies.