Hi
I'm trying to block visitors from different countries is there any other free methods that actually work
I tried using the .htacces file as mentioned here https://www.hostinger.com/tutorials/htaccess/how-to-allow-or-block-visitors-from-specific-countries-using-htaccess
But it didn't work as...
Hi, I want to block in the htaccess url file (https://www.example.com/files/example/index.php) for Google robots. Searching through the search engine I found something like:
RewriteEngine on
RewriteCond% {HTTP_USER_AGENT} Googlebot [OR]
RewriteRule ^. * $ "Http \: \ / \ / yordomain \ .com" [R =...
I am facing problem with 301 redirection. My .htaccess file is full with almost 80 redirects. Now whenever I am adding more directions, My website goes down with "err_too_many_redirects". How can I get rid of 404's if I am not able to add redirection?
TIA
Hi,
I would like the traffic on site1.com to be redirected to site2.com only from 1pm to 2pm and from 11pm to 5am. This redirect only if users are from Italy. It's possible ?
I want to make www.mydomain.com redirect to http://mydomain.com. Does anyone know how to do this properly? I tried:
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.mydomain.com$
RewriteRule ^(.*)$ http://mydomain.com [R=301,L]
The browser told me:
Too many redirects...
Hello ppl,
I have used like 4 hours on google trying to find some sort of code example to rewrtie urls with mod rewrite.
I all seems like voodoo to me! So i hope someone can help me out. I think its pretty simply but i can't wrap my head around this subject.
I need a htacces url rewrite...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.