Forums

XML & Google News Sitemap Feeds
[resolved] no sitemap on main blog (5 posts)

  1. watskkisi
    Member
    Posted 1 year ago #

    Hi, when i Network activate the XML Sitemap Feed, only the sub blogs have sitemap, the main blog ?feed=sitemap returns ERROR: sitemap is not a valid feed template,

    i lookup in the database option table there is no mention of xml-sitemap-feed-version while all other subblog have this entry. so i guess the plugin just didn't activate for the the main blog for some reason.

    hope you can solve this issue.

    thank you.

    http://wordpress.org/extend/plugins/xml-sitemap-feed/

  2. RavanH
    Member
    Posted 1 year ago #

    Hi,

    Does /robots.txt on your main site show a reference to the sitemap? If so, please try refreshing (re-saving) your Permalink settings and check your the /sitemap.xml again. If not, can you give me a link to your site?

    Thanks :)

  3. watskkisi
    Member
    Posted 1 year ago #

    hi, i got it working by making sure it works for the single blog first, then i activate the network and now both main blog and sub blogs are working.

    now i want to have the main blog only indexing pages not posts, can this be done? if it is easy i don't mind edit the plugin codes.

  4. watskkisi
    Member
    Posted 1 year ago #

    i put in some blog_id if else statement now the main blog only have the pages sitemap.
    thx for a such good plugin!

  5. RavanH
    Member
    Posted 1 year ago #

    Glad to hear you got it working like you want to...

    Please do not forget that your customization will get overwritten when (some day) you do an automatic upgrade of the plugin. You might consider renaming the plugin to prevent accidental automatic upgrades in the future. Or make a backup so you can copy your own code back into later versions :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic