SITEMAP: Difference between revisions

no edit summary
No edit summary
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.&ensp; 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>&ensp; Using plaintext (TXT) is much faster and easier than writing extensible markup language (XML).&ensp; 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.&ensp; 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>&ensp; Using plaintext (TXT) is much faster and easier than writing extensible markup language (XML).&ensp; 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].
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>&ensp; 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].


== 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>&ensp; 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 ==