2,457
edits
Nicole Sharp (talk | contribs) No edit summary |
Nicole Sharp (talk | contribs) 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>").  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.  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.  An example "<code>/robots.txt</code>" with a sitemap is given below. |