Opticon Stockholm is on Tuesday September 10th, hope to see you there!
Opticon Stockholm is on Tuesday September 10th, hope to see you there!
Hey Farhin,
The sitemap has to be explicitly configured for every site in the Admin -> Tools -> Search engine sitemap settings. Only the sites configured there will have a generated sitemap, so you can exclude any site where you do not wish to have a sitemap.
See the editor guide for more info:
https://github.com/Geta/SEO.Sitemaps/blob/master/docs/editor-guide.md
As a side note, you can also exclude content by using a custom filter:
https://github.com/Geta/geta-optimizely-sitemaps#exclude-content
I would also like to know if changing these properties on individual pages will make any difference when sitemap.xml is generated especially freqency & priority.I have been trying to change them for some of the pages & running the scheduler to generate the sitemap.xml but cant see any difference.
Here's the page with the sitemap configuration wherein enabled is unchecked along with a different proirity & frequency & the xml output generated still includes the page with priority & freqency other than what it is set.
Also,once a sitemap.xml is generated,on closely looking at the xml file,the priority for pages is different.I would like to know how does this package decide the priority of the page because from what i have seen it is definitely different from the default values & the values that i try to set is definitely not being set.
Looking at https://www.sitemaps.org/protocol.html & some of the best practice articles on sitemap, it is safe to assume that the priority & frequency doesnt make any difference in a search engine result.Rather it consides lastmod for this.However,i would really like to understand how does this package assigns the priority for pages when generating sitemap.xml file.
Regards.
Anyways if you have any feedback for the Sitemaps module - please file an issue on module's GitHub repo (https://github.com/Geta/geta-optimizely-sitemaps/issues) and we would be happy to take a look.
I figured out the issue on why changing SEO configuration settings(enabled, priority & frequency) on individual pages was not reflecting on the generated sitemap.xml
I had renamed SEOSitemaps & so the changed settings was not being considered on the generated sitemap.xml
[Display(GroupName = Name = "Sitemap Configuration")]
[UIHint("SeoSitemap")]
[BackingType(typeof(PropertySEOSitemaps))]
//NOTE: This property must be named exactly SEOSitemaps or the Geta.SEO.Sitemaps will not use the values set per page
public virtual string SEOSitemaps { get; set; }
Hi,
I have installed Geta.SEO.Sitemaps for Sitemap generator in my application. The tool is working as expected. As this package allows extending the implementations to serve individual requirements, Is there a way to extend the implementation to exclude an entire site itself. I mean in a multisite application, not every site requires sitemap.xml. Is there a way or any classes within Geta.SEO that i can extend & implement to exclude sites?
Regards.