Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
Old 12-14-2010, 10:11 AM How To Redirect
Banned

Posts: 39
Trades: 0
I am pretty much opened to any way of doing this.

While working on my website, I only want certain IPs to be able to access it. All other IPs I want redirected to a "Coming Soon" page.

I know that it can be done by denying IPs in htaccess but that would redirect them to the 403 page - which I could of course customize. However, that is not what I am really trying to do because then search engines will recognize the error page and not index the site...

Any help would be appreciated.
CyberWizard is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-14-2010, 10:22 AM Re: How To Redirect
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
search engines will recognize the error page
No they won't, the crawler will get the 403 response and leave.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-14-2010, 10:28 AM Re: How To Redirect
Banned

Posts: 39
Trades: 0
Yea, that's what I meant by that. They get the error and never even consider indexing the website.

Is there is way to do a 301 redirect but not have it effect certain IP addresses?
CyberWizard is offline
Reply With Quote
View Public Profile
 
Old 12-14-2010, 10:32 AM Re: How To Redirect
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Use robots.txt so they never actually index the site until they are allowed.
and
Don't start building links until the site is ready.

Why allow crawlers into a site where the pages are unfinished? Because that's what you will be stuck with in the index for several months!
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-14-2010, 11:18 AM Re: How To Redirect
Super Spam Talker

Posts: 880
Name: Paul W
Trades: 0
Quote:
Originally Posted by CyberWizard View Post
Is there is way to do a 301 redirect but not have it effect certain IP addresses?
Yes, in Apache, probably in others. See ALLOW and DENY directives.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


*** New:
Please login or register to view this content. Registration is FREE
PaulW is offline
Reply With Quote
View Public Profile
 
Old 12-29-2010, 02:40 AM Re: How To Redirect
Average Talker

Latest Blog Post:
phpinfo.php file on server
Posts: 18
Name: Ash
Trades: 0
Don't publish it, you still be able to get it by IP, account name.
Nobody would be able to access it by domain name.
It will not exist officially.
You will be free to launch it anytime you wish.
__________________
~Ashwini
AshwiniS is offline
Reply With Quote
View Public Profile Visit AshwiniS's homepage!
 
Old 12-31-2010, 07:22 PM Re: How To Redirect
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Don't publish it, you still be able to get it by IP, account name.
And if you are NOT on shared hosting?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-04-2011, 02:40 PM Re: How To Redirect
Average Talker

Latest Blog Post:
phpinfo.php file on server
Posts: 18
Name: Ash
Trades: 0
Why not?
It can be accessed on shared hosting as well.
Which will be something like IP+~accountname, isn't it?
__________________
~Ashwini
AshwiniS is offline
Reply With Quote
View Public Profile Visit AshwiniS's homepage!
 
Reply     « Reply to How To Redirect
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26476 seconds with 12 queries