Making WordPress.org

Opened 14 months ago

Closed 14 months ago

Last modified 14 months ago

#5476 closed defect (fixed)

Setting a Rosetta site to private mode should add noindex tags everywhere

Reported by: jonoaldersonwp Owned by:
Milestone: Priority: lowest
Component: International Sites (Rosetta) Keywords: seo


The site at test.wordpress.org uses the 'Search engine visibility' site setting to prevent indexing of the site.

However, this setting doesn't apply to / affect the themes or plugins, or the pages within them (and possibly other areas of the site, too).

When this site setting is active, all pages on the affected site should output a <meta name='robots' content='noindex,nofollow' /> tag.

Change History (1)

#1 @dd32
14 months ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed via r16563-dotorg

Inherit the blog_public option from the locale site on *.wordpress.org/(themes|plugins|gutenberg|support/update-php)/ so that any not-indexable domains have all those assets as not-indexable as well.
$ curl -s https://test.wordpress.org/ https://test.wordpress.org/plugins/ https://test.wordpress.org/themes/ | grep robots

<link rel="pingback" href="https://test.wordpress.org/xmlrpc.php" /><meta name='robots' content='noindex,nofollow' />
<link rel="pingback" href="https://test.wordpress.org/plugins/xmlrpc.php" /><meta name='robots' content='noindex,nofollow' />
<link rel="pingback" href="https://test.wordpress.org/themes/xmlrpc.php" /><meta name='robots' content='noindex,nofollow' />

and to be safe:

$ curl -s https://wordpress.org/ https://wordpress.org/plugins/ https://wordpress.org/themes/ | grep robots
// no output

$ curl -s https://de.wordpress.org/ https://de.wordpress.org/plugins/ https://de.wordpress.org/themes/ | grep robots
// no output
Version 0, edited 14 months ago by dd32 (next)
Note: See TracTickets for help on using tickets.