2,457
edits
Nicole Sharp (talk | contribs) No edit summary |
Nicole Sharp (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
Adding a sitemap to your website allows searchbots to find pages much faster and more efficiently, allowing them to be quickly indexed for search engines.  Sitemaps can be saved as either "<code>/sitemap.txt</code>" or "<code>/sitemap.xml</code>" and should be placed in the root webdirectory ("<code>/</code>"). <ref><code>https://www.sitemaps.org/</code></ref> <ref><code>https://www.sitemaps.org/protocol.html</code></ref> <ref><code>https://developers.google.com/search/docs/crawling-indexing/sitemaps/</code></ref> <ref><code>https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap/</code></ref>  Using plaintext (TXT) is much faster and easier than writing extensible markup language (XML).  I recommend keeping the sitemap as plaintext, allowing the SITEMAP protocol to join the ranks of the other plaintext website protocols for <u>[[ROBOTS]]</u>, <u>[[SECURITY]]</u>, and [https://humanstxt.org/ HUMANS]. | Adding a sitemap to your website allows searchbots to find pages much faster and more efficiently, allowing them to be quickly indexed for search engines.  Sitemaps can be saved as either "<code>/sitemap.txt</code>" or "<code>/sitemap.xml</code>" and should be placed in the root webdirectory ("<code>/</code>"). <ref><code>https://www.sitemaps.org/</code></ref> <ref><code>https://www.sitemaps.org/protocol.html</code></ref> <ref><code>https://developers.google.com/search/docs/crawling-indexing/sitemaps/</code></ref> <ref><code>https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap/</code></ref>  Using plaintext (TXT) is much faster and easier than writing extensible markup language (XML).  I recommend keeping the sitemap as plaintext, allowing the SITEMAP protocol to join the ranks of the other plaintext website protocols for <u>[[ROBOTS]]</u>, <u>[[SECURITY]]</u>, and [https://humanstxt.org/ HUMANS]. | ||
== documentation == | == documentation == | ||
Line 11: | Line 9: | ||
* [[wikipedia:sitemap|Sitemap (Wikipedia)]] | * [[wikipedia:sitemap|Sitemap (Wikipedia)]] | ||
* [[wikipedia:sitemap.txt|<code>sitemap.txt</code> (Wikipedia)]] | * [[wikipedia:sitemap.txt|<code>sitemap.txt</code> (Wikipedia)]] | ||
== editor == | |||
As with all webtext files, you should use an advanced text editor such as [https://www.notepad-plus-plus.org/ Notepad-Plus-Plus] (not Microsoft Windows Notepad). <ref><code>https://www.notepad-plus-plus.org/</code></ref>  Files should be saved with [https://www.npp-user-manual.org/docs/preferences/#new-document Unix line endings and UTF-8 (Unicode Transformation Format Eight-Bit) character encoding]. | |||
== canonical links == | == canonical links == |