Miguel González
2018-02-16 21:21:33 UTC
Hi,
I have changed an URL from:
https://www.mysite.com/word1-word2/
https://www.mysite.com/word3-word2/
and changed my .htaccess accordingly.
I have successfully banned www.mysite.com/word1-word2 without the
ending / but not with / ending using:
ban req.http.host ~ www.mysite.com/word1-word2
and
ban req.http.host ~ www.mysite.com/word1-word2/
So option without ending /, 301 redirect works but with / doesn´t.
I have googled around but I haven´t found any solution.
Regards,
Miguel
---
This email has been checked for viruses by AVG.
http://www.avg.com
I have changed an URL from:
https://www.mysite.com/word1-word2/
https://www.mysite.com/word3-word2/
and changed my .htaccess accordingly.
I have successfully banned www.mysite.com/word1-word2 without the
ending / but not with / ending using:
ban req.http.host ~ www.mysite.com/word1-word2
and
ban req.http.host ~ www.mysite.com/word1-word2/
So option without ending /, 301 redirect works but with / doesn´t.
I have googled around but I haven´t found any solution.
Regards,
Miguel
---
This email has been checked for viruses by AVG.
http://www.avg.com