Message of the day:
Welcome to SilverStripe | Current stable: https://goo.gl/C4F1T9 | Feature requests: https://goo.gl/EcQ34L | Community Forum: https://forum.silverstripe.org | StripeCon EU 2019! https://stripecon.eu
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
Another thing about this module, can we add custom route easely? I have found
function get_sitemaps(). Extending the class and do a custom
parent::get_sitemaps can do it?
i'm always using that one https://github.com/wilr/silverstripe-googlesitemaps
It probably depends which sitemap module you’re using, there is no sitemap out of the box 😉
oh! cool - I didn’t realize it would influence the site map as well
@Joe I made a test and when I uncheck «Show in search», The page is removed from the sitemap.xml
Google tell me how to do it. Thanks Joe for explanations.
Link a site map inside robots.txt is possible?
my SEO team says the same thing - regardless of what else you have going on with your site, it’s always good to have a
robots.txt that defines exactly how you want crawlers to treat the pages on your site
I think “Show in Search” only influences if the page appears in an internal site search result, and does not impact robots.txt or SEO headers