Last active
April 19, 2024 21:45
-
-
Save dantetesta/d06baf0db4a47c3c56e0cba6fe6ace91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<FilesMatch "\.(jpg|jpeg|png|gif|pdf)$"> | |
Header set X-Robots-Tag "noindex, nofollow" | |
</FilesMatch> | |
/* | |
apos RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] | |
*/ | |
RewriteCond %{REQUEST_URI} ^(.*)?/(wp-content/uploads/.*)$ | |
RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$ | |
RewriteCond %{HTTP_REFERER} !^https://exames.dantetesta.com.br/ | |
RewriteRule . https://exames.dantetesta.com.br [R=302,L] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment