Incorrect "Robots: none" tag?
https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag
This commit is contained in:
parent
f7c3362e8a
commit
eba9edb30b
|
@ -226,7 +226,7 @@ class WC_Download_Handler {
|
|||
if ( strstr( $file_name, '?' ) )
|
||||
$file_name = current( explode( '?', $file_name ) );
|
||||
|
||||
header( "Robots: none" );
|
||||
header( "X-Robots-Tag: noindex, nofollow", true );
|
||||
header( "Content-Type: " . $ctype );
|
||||
header( "Content-Description: File Transfer" );
|
||||
header( "Content-Disposition: attachment; filename=\"" . $file_name . "\";" );
|
||||
|
|
Loading…
Reference in New Issue