Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Adsense / PPC / SEO Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 05-23-2011, 05:35 AM   #1
Crystal and Clear
War Room Member
 
garyseo786's Avatar
 
Join Date: Sep 2009
Posts: 134
Thanks: 15
Thanked 11 Times in 9 Posts
Default 301 redirect though HTACCESS file -Question

I am using following code in my HTACCESS to redirect a certain range of ip visitors starting from 68.162.*.* to another website. I don't want that range of particular ips to access my main site so i am redirecting to another offer by redirecting .

Quote:
# permanently redirect specific IP request for entire site
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REMOTE_HOST} 68.162
RewriteRule .* destinationurl [dot] com/ [R=301,L]
code is working fine and redirecting all the visitor coming from these range of ips. But i have a doubt about such redirects . Are these search engine crawler friendly and which url will be cache by crawler , my actual site where my HTACCESS file is placed or the destinationurl , where i am redirecting ?

since i am redirecting a range of ips so i hope it shouldn't create a problem while crawling my actual site . I didn't put the code yet because i want to make sure first .

thanks any kind of help is appreciated

garyseo786 is offline   Reply With Quote
Old 05-23-2011, 06:12 AM   #2
Crystal and Clear
War Room Member
 
garyseo786's Avatar
 
Join Date: Sep 2009
Posts: 134
Thanks: 15
Thanked 11 Times in 9 Posts
Default Re: 301 redirect though HTACCESS file -Question

if someone has any idea then please share. i really need some opinions

garyseo786 is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Adsense / PPC / SEO Discussion Forum

Tags
301, file, htaccess, question, redirect

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 07:30 AM.