NikkiWiki and SITEMAP: Difference between pages

From NikkiWiki
(Difference between pages)
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
Line 1: Line 1:
[[image:FSU Earth.jpg|thumb|[Image.]  Nicole Sharp is a graduate of [[wikipedia:Frostburg State University|Frostburg State University]] of Maryland.  Pictured is the Frostburg State University pennant flying on the [[wikipedia:International Space Station|International Space Station]].  The pawprints on the pennant are of the university mascot, a bobcat (''[[wikipedia:Lynx rufus|Lynx rufus]]'').]]
Adding a [https://www.sitemaps.org/ 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>&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>, [https://www.securitytxt.org/ SECURITY], and [https://humanstxt.org/ HUMANS].


<strong>Welcome to <cite class="u">NikkiWiki, Nicole Sharp's Wiki</cite>!</strong>
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].


Homepage for <u>[[Nicole Sharp]]</u> of [https://www.frostburg.edu/about-frostburg/campus-and-community/ Frostburg State University], Maryland, United States of America (USA).
== canonical links ==


There are <u>[[special:allpages|{{NUMBEROFPAGES}} pages]]</u> in <u>[[special:categories|{{PAGESINNAMESPACE:14}} categories]]</u> on <cite class="n">NikkiWiki</cite>.  <u>[[special:recentchanges|View recent changes.]]</u>
To create a sitemap, you simply make a plaintext list of each URL (uniform resource locator) for the website with one URL per line and no other content (no comments).&ensp; Only URLs for a single domain should be included — do not add URLs for subdomains or alias domains.&ensp; You should also only list canonical URLs.&ensp; This means that if a particular webpage can be accessed from multiple URLs, only one URL should be listed for that webpage in the sitemap.


<u>[[about NikkiWiki|<cite class="n">NikkiWiki</cite>]]</u> and <u>[[about Nicole Sharp's Website|<cite class="n">Nicole Sharp's Website</cite>]]</u> are [https://www.freedomdefined.org/ <strong>Free Cultural Works</strong>].
For example, there are many different ways to access <u>[[Nicole Sharp's Homepage]]</u>:


<cite class="n">NikkiWiki</cite> is powered by [[mw:What is MediaWiki?|<strong>Wikimedia MediaWiki</strong>]], the same free open-source wikisoftware used for [[wikipedia:Main Page|<cite class="n">Wikipedia</cite>]], [[wikibooks:Main Page|<cite class="n">Wikibooks</cite>]], [[wikiversity:Main Page|<cite class="n">Wikiversity</cite>]], [[commons:Main Page|<cite class="n">Wikimedia Commons</cite>]], and the other wikiprojects of the [https://www.wikimedia.org/ Wikimedia Foundation].
<code><pre>
https://www.nicolesharp.net/
https://www.nicolesharp.net/index.htm
https://www.nicolesharp.net/index.html
https://www.nicolesharp.net/w/
https://www.nicolesharp.net/w/index.php
https://www.nicolesharp.net/w/index.php?title=NikkiWiki
https://www.nicolesharp.net/w/index.php?title=Main_Page
https://www.nicolesharp.net/w/index.php?title=NikkiWiki:Main_Page
https://www.nicolesharp.net/wiki/
https://www.nicolesharp.net/wiki/NikkiWiki
https://www.nicolesharp.net/wiki/Main_Page
https://www.nicolesharp.net/wiki/index
</pre></code>


<cite class="n">NikkiWiki</cite> is optimized for desktop users.&ensp; A mobile view optimized for mobile web browsers is available but will not provide as rich of an experience for wiki browsing.&ensp; You can switch back and forth between mobile view and desktop view by selecting "Mobile" or "Desktop" on the footer menu.&ensp; Note that desktop view on a mobile browser may display bullets (•) as periods (.) for unordered lists.
The canonical URL though is
: <u><code>[[about Nicole Sharp's Homepage|https://www.nicolesharp.net/wiki/NikkiWiki]]</code></u>
since all of the other URLs redirect to that URL.


<u>[[license for Nicole Sharp's Website|Unless otherwise noted, content on <cite class="n">NikkiWiki</cite> and <cite class="n">Nicole Sharp's Website</cite> is available under the <cite>Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 International Public License</cite>.]]</u>&ensp; This is the same license used by <cite class="n">Wikipedia</cite>, <cite class="n">Wikibooks</cite>, <cite class="n">Wikiversity</cite>, and the other wikiprojects of the Wikimedia Foundation, allowing to freely copy and paste wikitext (with attribution) back and forth between NikkiWiki and Wikimedia.
=== MediaWiki ===


<u>[[analytics for Nicole Sharp's Website|<cite class="n">NikkiWiki</cite> and <cite class="n">Nicole Sharp's Website</cite> use webanalytics cookies from Cloudflare Analytics, Matomo Analytics, Google Analytics, Microsoft Clarity, and Yandex Metrica.]]</u>
In [[mw:Main Page|Wikimedia MediaWiki]], canonical URLs are provided by adding
: <code>[[mw:$wgEnableCanonicalServerLink|$wgEnableCanonicalServerLink]] = true;</code>
to "<code>LocalSettings.php</code>". <ref><code>[[mw:$wgEnableCanonicalServerLink]]</code></ref>


<cite class="n">Nicole Sharp's Website</cite> was originally <u>[[homepage for Nicole Sharp's Website|published]]</u> in <time datetime="2006">2006</time> as "<code>personal.frostburg.edu/nlsharp0</code>" and remains a nonprofit educational website.
== no subdomains ==


<cite class="n">NikkiWiki</cite> and <cite class="n">Nicole Sharp's Website</cite> are hosted, published, and written in the United States of America.
Here are even more ways to access Nicole Sharp's Homepage:


<!--sse--><u>[mailto:&#x77;&#x69;&#x6b;&#x69;&#x40;&#x6e;&#x69;&#x63;&#x6f;&#x6c;&#x65;&#x73;&#x68;&#x61;&#x72;&#x70;&#x2e;&#x6e;&#x65;&#x74; Email Nicole Sharp.]</u><!--/sse-->
<code><pre>
https://nicolesharp.net/
https://www.nicolesharp.net/
https://web.nicolesharp.net/
https://en.nicolesharp.net/
https://eng.nicolesharp.net/
https://us.nicolesharp.net/
https://usa.nicolesharp.net/
https://wiki.nicolesharp.net/
https://w.nicolesharp.net/
http://www.nicolesharp.net/
http://nicolesharp.net/
http://nicolesharp.altervista.org/
http://nicolesharp.dreamhosters.com/
https://nicolesharp.dreamhosters.com/
</pre></code>


{{#seo:|keywords=academic, ACM, AL, Alleganian, Allegany, Alleghenian, Allegheny, America, American, Americana, anthropologist, Anthropology, Appalachia, Appalachian, AS, astronomer, astronomy, Attribution-ShareAlike, autist, autistic, Baccalaurea, Baccalaureate, bi, biracial, bisexual, Bogotan, Bogotana, BS, BSc, BY-SA, CC, Chesapeake, college, collegiate, Colombian, Colombiana, Cumberland, Cumberlander, disabled, DreamHost, Earth, Earther, Earthling, Earth-Moon, EDU, education, educational, EN, ENG, engineer, Engineering, English, EN-US, female, feminism, feminist, Frostburg, frostburg.edu, FSU, girl, grad, graduate, home, homepage, homesite, homewiki, homewikisite, Homo, human, index, indexpage, ΚΜΕ, Latin, Latina, Latinoamerican, Latinoamericana, LBTQ, learning, lesbian, LGBT, LGBTQIA, mainpage, Maryland, Marylander, math, mathematician, Mathematics, MD, MediaWiki, minority, minority-owned, MW, net, network, networking, Nicole, nicolesharp.net, Nikki, NikkiLicense, NikkiSite, NikkiWiki, NLS, nonprofit, NS, physicist, Physics, Potomac, queer, Ruiz, scholar, scholarly, schoolgirl, Science, scientific, scientist, Sharp, site, socioanthropologist, socioanthropology, sociologist, Sociology, ΣΠΣ, student, Terra, Terran, Terra-Luna, TG, t-girl, trans, transgender, transgirl, transsexual, transwoman, transwomyn, TS, undergrad, undergraduate, uni, university, US, USA, US-MD, Virginian, web, webhome, webhomepage, website, wiki, wikihome, wikihomepage, wikimainpage, wikisite, woman, womyn, WWW}}
With the exception of "<code><nowiki>https://www.nicolesharp.net/</nowiki></code>", none of these other URLs should be included in "<u><code>https://www.nicolesharp.net/sitemap.txt</code></u>".&ensp; All of the URLs should have the same protocol (either all HTTPS [Hypertext Transfer Protocol Secure] or all HTTP [Hypertext Transfer Protocol]) and all of the URLs should be on the same subdomain (for example, either all with "<code>www</code>" or all without "<code>www</code>").


[[category:Nicole Sharp's Website]]
== example ==
[[category:NikkiWiki]]
 
[[category:pages with images]]
The following "<code>/sitemap.txt</code>" example gives a compliant sitemap for "<u><code>[[Nicole Sharp's Website|https://www.nicolesharp.net/]]</code></u>":
 
<code><syntaxhighlight lang="text">
https://www.nicolesharp.net/wiki/NikkiWiki
https://www.nicolesharp.net/wiki/about_NikkiWiki
https://www.nicolesharp.net/wiki/Nicole_Sharp
https://www.nicolesharp.net/wiki/license_for_Nicole_Sharp's_Website
https://www.nicolesharp.net/wiki/analytics_for_Nicole_Sharp's_Website
https://www.nicolesharp.net/wiki/donations
https://www.nicolesharp.net/wiki/security
</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>").&ensp; Each new subdomain will need its own sitemap.
 
== ROBOTS ==
 
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.
 
<code><highlight lang="robots">
User-agent: *
Disallow:
Sitemap: https://www.example.net/sitemap.txt
</highlight></code>
 
== see also ==
 
* <u><code>https://www.nicolesharp.net/sitemap.txt</code></u>
* <code>https://www.sitemaps.org/</code>
* <u><code>[[ROBOTS]]</code></u>
* <code>https://www.securitytxt.org/</code>
* <code>https://humanstxt.org/</code>
 
== references ==
 
<references />
 
== keywords ==
 
<code>bots, CANONICAL, development, hyperlinks, indexing, links, ROBOTS, robots.txt, searchbots, SITEMAP, sitemap.txt, TXT, URLs, web, webcrawlers, webcrawling, webdevelopment, weblinks, WWW</code>
 
{{#seo:|keywords=bots, CANONICAL, development, hyperlinks, indexing, links, ROBOTS, robots.txt, searchbots, SITEMAP, sitemap.txt, TXT, URLs, web, webcrawlers, webcrawling, webdevelopment, weblinks, WWW}}
 
[[category:webdevelopment]]

Revision as of 2023-09-05T00:45:38

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 "/sitemap.txt" or "/sitemap.xml" and should be placed in the root webdirectory ("/"). [1] [2]  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 ROBOTS, SECURITY, and HUMANS.

As with all webtext files, you should use an advanced text editor such as Notepad-Plus-Plus (not Microsoft Windows Notepad). [3]  Files should be saved with Unix line endings and UTF-8 (Unicode Transformation Format Eight-Bit) character encoding.

canonical links

To create a sitemap, you simply make a plaintext list of each URL (uniform resource locator) for the website with one URL per line and no other content (no comments).  Only URLs for a single domain should be included — do not add URLs for subdomains or alias domains.  You should also only list canonical URLs.  This means that if a particular webpage can be accessed from multiple URLs, only one URL should be listed for that webpage in the sitemap.

For example, there are many different ways to access Nicole Sharp's Homepage:

https://www.nicolesharp.net/
https://www.nicolesharp.net/index.htm
https://www.nicolesharp.net/index.html
https://www.nicolesharp.net/w/
https://www.nicolesharp.net/w/index.php
https://www.nicolesharp.net/w/index.php?title=NikkiWiki
https://www.nicolesharp.net/w/index.php?title=Main_Page
https://www.nicolesharp.net/w/index.php?title=NikkiWiki:Main_Page
https://www.nicolesharp.net/wiki/
https://www.nicolesharp.net/wiki/NikkiWiki
https://www.nicolesharp.net/wiki/Main_Page
https://www.nicolesharp.net/wiki/index

The canonical URL though is

https://www.nicolesharp.net/wiki/NikkiWiki

since all of the other URLs redirect to that URL.

MediaWiki

In Wikimedia MediaWiki, canonical URLs are provided by adding

$wgEnableCanonicalServerLink = true;

to "LocalSettings.php". [4]

no subdomains

Here are even more ways to access Nicole Sharp's Homepage:

https://nicolesharp.net/
https://www.nicolesharp.net/
https://web.nicolesharp.net/
https://en.nicolesharp.net/
https://eng.nicolesharp.net/
https://us.nicolesharp.net/
https://usa.nicolesharp.net/
https://wiki.nicolesharp.net/
https://w.nicolesharp.net/
http://www.nicolesharp.net/
http://nicolesharp.net/
http://nicolesharp.altervista.org/
http://nicolesharp.dreamhosters.com/
https://nicolesharp.dreamhosters.com/

With the exception of "https://www.nicolesharp.net/", none of these other URLs should be included in "https://www.nicolesharp.net/sitemap.txt".  All of the URLs should have the same protocol (either all HTTPS [Hypertext Transfer Protocol Secure] or all HTTP [Hypertext Transfer Protocol]) and all of the URLs should be on the same subdomain (for example, either all with "www" or all without "www").

example

The following "/sitemap.txt" example gives a compliant sitemap for "https://www.nicolesharp.net/":

https://www.nicolesharp.net/wiki/NikkiWiki
https://www.nicolesharp.net/wiki/about_NikkiWiki
https://www.nicolesharp.net/wiki/Nicole_Sharp
https://www.nicolesharp.net/wiki/license_for_Nicole_Sharp's_Website
https://www.nicolesharp.net/wiki/analytics_for_Nicole_Sharp's_Website
https://www.nicolesharp.net/wiki/donations
https://www.nicolesharp.net/wiki/security

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

ROBOTS

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

User-agent: *
Disallow:
Sitemap: https://www.example.net/sitemap.txt

see also

references

  1. https://www.sitemaps.org/
  2. https://www.sitemaps.org/protocol.html
  3. https://www.notepad-plus-plus.org/
  4. mw:$wgEnableCanonicalServerLink

keywords

bots, CANONICAL, development, hyperlinks, indexing, links, ROBOTS, robots.txt, searchbots, SITEMAP, sitemap.txt, TXT, URLs, web, webcrawlers, webcrawling, webdevelopment, weblinks, WWW