1 Star2 Stars3 Stars4 Stars5 Stars (14 votes, average: 5.00 out of 5)

Redirect IP Address Using htaccess

Redirect IP Address using htaccess *

Redirect IP Address Using htaccess to get rid of annoying visitors that come to leave you spam. Better yet would you not like to tell them off with a web page especially for them? You can even redirect an entire country to a certain page or even another website altogether using htaccess. I decided to do this tutorial because there are a lot of people out there getting harassed by hackers and spammers. This can be your way of telling them off, lol. You can also use this as a tool to reward those people who come to your site a lot by directing them to a thank you page. If you are multi-lingual you can even have a page just for those foreign speaking visitors.  Use your imagination and the sky is the limit. The following method only works on Linux servers with Apache installed. Windows servers do not support htaccess.

Step 1 Set your page up that you want certain people to be directed to.

http://getoffmysite.com
http://thanksforvisiting.com

Step #2

Figure out what Redirect IP Address you want to redirect. In wordpress you can do this by clicking on your comments section in your dashboard. All the ip addresses are listed right under the users name. If you have cpanel go to logs then recent visits if you know they person was just on your site, you will be able to see what pages they visited to give you an idea of who they are.

Subscribe To My YouTube Channel:

Redirect IP Address Using htaccess wordpress

Redirect IP Address Using htaccess

Redirect IP Address Using htaccess was last modified: May 11th, 2015 by Maximus Mccullough

Advanced Programming Made Easy

I hope you enjoyed the article. If I was able to help you please consider a tip for the content.

One Time Tip

more tips

Reoccuring Tips

Tips

redirects htacess

Pages: 1 2 3 Next

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.