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.

Tip: Click on images to make them larger. If you find anything wrong on this page or need further assistance please comment below or contact me. 🙂

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

Please like, share and subscribe.

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


Cool People Share:
redirects htacess

Pages: 1 2 3 Next


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.