Fix email decoy url not correctly redirect to open email
This commit is contained in:
parent
e671530a2e
commit
8b8e14bdff
|
@ -15,7 +15,7 @@ Header set Cache-Control "no-cache, public"
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
|
|
||||||
# Redirect obfuscated email links to mailto link
|
# Redirect obfuscated email links to mailto link
|
||||||
RewriteRule ^.*{{ sitemeta.siteAuthor.emailDecoyUrl }}.*$ mailto:{{ sitemeta.siteAuthor.email }} [R=301,L]
|
RewriteRule ^.*{{ sitemeta.siteAuthor.emailDecoyUrl }}.*$ "mailto:{{ sitemeta.siteAuthor.email }}" [R=301,L]
|
||||||
|
|
||||||
# Block bad bots
|
# Block bad bots
|
||||||
RewriteCond %{HTTP_USER_AGENT} ({{ robots.htaccess }}) [NC]
|
RewriteCond %{HTTP_USER_AGENT} ({{ robots.htaccess }}) [NC]
|
||||||
|
|
Loading…
Reference in New Issue