Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Wikipedia:Controlling search engine indexing

From Wikipedia, the free encyclopedia
"Wikipedia:INDEXING" redirects here. For pages about indexes (indices) of topics in Wikipedia, seeWikipedia:Indexes. For the WikiProject, seeWikipedia:WikiProject Indexes. For directories and indexes, seeWikipedia:Directories and indexes.
Wikipedia information page
This is aninformation page.
It is not anencyclopedic article, nor one ofWikipedia's policies or guidelines; rather, its purpose is to explain certain aspects of Wikipedia's norms, customs, technicalities, or practices. It may reflect differing levels ofconsensus andvetting.

There are a variety of ways in which Wikipedia attempts tocontrol search engine indexing, commonly termed "noindexing" on Wikipedia. The default behavior is that articles older than 90 days are indexed. All of the methods rely on using thenoindexHTMLmeta tag, which tellssearch engines not to index certain pages. Respecting the tag, especially in terms of removing already indexed content, is up to the individual search engine, and in theory the tag may be ignored entirely.

The control methods are:

  1. Controlling an entirenamespace, viaMediaWiki software settings
  2. Controlling classes of pages, viaMediaWiki:Robots.txt (Wikipedia'sRobots.txt file)
  3. Controlling individual pages by adding the__NOINDEX__magic word into them, either directly or using the{{NOINDEX}} template, however articles are a special case, see§ Indexing of articles ("mainspace").
  4. Controlling multiple pages by adding the__NOINDEX__ magic word into standard templates used in certain situations (same caveat as in the third point).
NamespaceStatusIndexedCan be overridden
(main)newer than 90 days, unpatrolledNoNo
newer than 90 days, patrolledYesYes
older than 90 daysYesNo
User:newer than 90 days, unpatrolledNoNo
newer than 90 days, patrolledNoYes
older than 90 daysNoYes
User talk:n/aNoYes
Draft:NoNo
Draft talk:NoNo
All othersYesYes

Indexing of articles ("mainspace")

[edit]

Articles older than 90 days are automatically indexed.[1] The__NOINDEX__ magic word and the{{NOINDEX}} template do not work on them. Articles younger than 90 days are not indexed, unless they have beenpatrolled and do not have the__NOINDEX__ magic word or the{{NOINDEX}} template on them (or a template that transcludes the{{NOINDEX}} template, such as the speedy deletion templates).[2][3][4] Note that &action=info will incorrectly state that they are indexed.[5] Articles that include the{{NOINDEX}} template are listed atCategory:Noindexed articles.

This patrolling may be done automatically by the software, as in the case of articles created by editors with theautopatrolled user right, or by another editor with thenew page reviewer user right (not to be confused with thepending changes reviewer user right).

Other namespaces and robots.txt

[edit]

Namespace control

[edit]

On English Wikipedia the entireUser:[6]namespace,User talk:,Draft: andDraft talk: namespaces are automatically noindexed via a software setting.[7]

At the same time,__NOINDEX__ and__INDEX__ are disabled, in addition toarticle space, on theDraft namespace, and the Draft talk namespace; they have no effect there.[8]

Robots.txt noindexing

[edit]

MediaWiki:Robots.txt forbids analytic tools from visiting sensitive or potentially sensitive types of pages, primarily in the Wikipedia namespace – for exampledeletion debates. A side effect of not visiting is normally that a page cannot be indexed. Where possible, you should in addition use__NOINDEX__ for those pages.

NOINDEX magic word

[edit]

Individual pages

[edit]

Individual pages can be noindexed by adding the__NOINDEX__magic word into that page, either directly or using the{{NOINDEX}} template. As explained above, this magic word doesn't work in mainspace (on articles).

Pages with the keyword are listed inCategory:Noindexed pages.[9]

Standard template noindexing

[edit]

Some standard templates include the__NOINDEX__ keyword, thereby noindexing pages to which the templates are applied. Such templates should be listed inCategory:Wikipedia templates which apply NOINDEX.

Biographies of Living Persons talkpage noindexing

[edit]

The templates{{BLP}} and{{BLP others}} include the{{NOINDEX}} parameter. The{{BLP}} template is added automatically by the{{WikiProject banner shell}} talkpage template, if given the parameter|blp=yes; see the documentation of that template for more details. Pages using these templates are automatically categorised inCategory:Biography articles of living people.

Other templates

[edit]

These templates include{{NOINDEX}}:

See alsoCategory:Wikipedia templates which apply NOINDEX.

  • {{Uw-userspacenoindex}} provides a user warning message for inappropriate use of userspace which required noindexing.

INDEX magic word

[edit]

Individual pages

[edit]

Individual pages can override namespace noindexing by adding the__INDEX__magic word into that page, either directly or using the{{INDEX}} template. Such pages appear inCategory:Indexed pages. However, INDEX doesnot override noindexing viaMediaWiki:Robots.txt.[10] As explained above, this magic word doesn't work in mainspace (on articles).

The ability to add the INDEX magic word to user spaces (User:, User talk:) has been restricted byan edit filter toextended confirmed users following a community discussion.[11]

Nofollow HTML attribute

[edit]
Main article:Meta:nofollow

Since 2007, all links to other websites from English Wikipedia have thenofollow HTML attribute set.[12] This means that on pages that are indexed by search engines, any links found by a search engine on those pages should not influence the link target's ranking in the search engine's index.

Past discussions

[edit]

Namespace discussions

[edit]

Individual template discussions

[edit]

See also

[edit]

Notes

[edit]
  1. ^2017 switch from 30 to 90 days
  2. ^T147544
  3. ^PageTriage source code
  4. ^Value of $wgRCMaxAge on WMF wikis
  5. ^SeeT157747
  6. ^Decided atWikipedia:Village pump (proposals)/Archive 126 § Userpage drafts shown in search engines, implemented atphab:T104797.
  7. ^This is$wgNamespaceRobotPolicies. SeeWikimedia's $wgNamespaceRobotPolicies setting for enwiki
  8. ^This is controlled by theMediaWiki software setting$wgExemptFromUserRobotsControl. On other projects, the exempt namespaces are the same as$wgContentNamespaces, which is set to main space on almost all Wikimedia projects – seehere andhere.
  9. ^The listing is done byMediaWiki tracking the keyword. The category name is determined byMediaWiki:Noindex-category.
  10. ^It does overridemw:Manual:$wgArticleRobotPolicies, but this is not used on English Wikipedia:Wikimedia's $wgArticleRobotPolicies setting for enwiki
  11. ^Special:PermaLink/862856598 § Prevent new users from allowing search engine indexing of user pages
  12. ^Controlled by$wgNoFollowLinks, set to true in [on Wikimedia's settings file for enwiki]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Wikipedia:Controlling_search_engine_indexing&oldid=1294226543"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp