Making WordPress.org

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#5476 closed defect (bug) (fixed)

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

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

Description

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
4 years 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
Last edited 4 years ago by dd32 (previous) (diff)
Note: See TracTickets for help on using tickets.