Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.78k stars 894 forks source link

X-Redirect-By header #2483

Closed omarreiss closed 9 years ago

omarreiss commented 9 years ago

To be able to recognize where a redirect originated, it'd be very useful to have a header before the location header that identies WordPress SEO as the originator of the redirect.

Should be as simple as:

header( 'X-Redirect-By: WordPress SEO by Yoast' );

right before the location header.

X-Redirect-By is an invention of @jdevalk himself, so no need (yet) to Google it :P

omarreiss commented 9 years ago

Same as https://github.com/Yoast/wordpress-seo-premium/issues/240 but then for the free plugin.

jdevalk commented 9 years ago

Didn't this get fixed?

omarreiss commented 9 years ago

Closing as redirect function has been removed altogether from free.