WordPress.org

Making WordPress.org

Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#4129 closed defect (fixed)

Noindex trac ticket attachments

Reported by: jonoaldersonwp Owned by: dd32
Milestone: Priority: lowest
Component: Trac Keywords: seo
Cc:

Description

URLs like https://core.trac.wordpress.org/attachment/ticket/25136/var_dump.txt should have a meta robots tag with a value of noindex, follow

Change History (3)

#1 @dd32
6 months ago

  • Owner set to dd32
  • Status changed from new to accepted

#2 @dd32
6 months ago

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

In 8196:

Trac: noindex,follow attachment pages.

Fixes #4129.

#3 @dd32
6 months ago

$ curl 'https://core.trac.wordpress.org/attachment/ticket/25136/var_dump.txt' -s | grep meta | grep robots
		<meta name="robots" content="noindex, follow" />

$ curl 'https://core.trac.wordpress.org/ticket/25136' -s | grep meta | grep robots
[no matches]
Note: See TracTickets for help on using tickets.