Make WordPress Core

Opened 9 years ago

Closed 8 years ago

#33852 closed enhancement (invalid)

robots noindex, nofollow for wp_die()

Reported by: lukasneptun's profile LukasNeptun Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.3
Component: General Keywords:
Focuses: Cc:


It would be useful to have this on wp_die() page template. wp_die() could be used as simple maintenance plugin and this would be very helpful to have this meta attribute set to prevent errors in e.g. google analytics.

Attachments (1)

functions.php (150.7 KB) - added by LukasNeptun 9 years ago.
Added line 2526

Download all attachments as: .zip

Change History (3)

9 years ago

Added line 2526

#1 @swissspidy
9 years ago

  • Focuses administration template removed

For maintenance pages noindex is the wrong way. If you run that on your homepage, Google would stop indexing your homepage. That's not a good user experience.

That's not what you want. You should send a 503 status header in that case, see

#2 @joostdevalk
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Agreed with @swissspidy, closing.

Note: See TracTickets for help on using tickets.