SITEMAP: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 57: Line 57:
</syntaxhighlight></code>
</syntaxhighlight></code>


Only canonical URLs are included, all of the URLs have the same protocol ("<code>https://</code>"), and all of the URLs are on the same subdomain ("<code>www.nicolesharp.net</code>").
Only canonical URLs are included, all of the URLs have the same protocol ("<code>https://</code>"), and all of the URLs are on the same subdomain ("<code>www.nicolesharp.net</code>").&ensp; Each new subdomain will need its own sitemap.


Once your sitemap is completed, you can add it to the Robots Exclusion Protocol to be indexed by searchbots.&ensp; An example "<code>/robots.txt</code>" with a sitemap is given below.
Once your sitemap is completed, you can add it to the Robots Exclusion Protocol to be indexed by searchbots.&ensp; An example "<code>/robots.txt</code>" with a sitemap is given below.