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/
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 :)
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.
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!
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 :)