MyBB Community Forums

Full Version: Quick redirect help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I'm moving an old website of mine to a new host, so obviosuly it'll have to update the nameservers.
How do I make it so I can put the old website in site.com/website
and then everyone but 2 IP's (coworker and I) sees site.com/website
while we work on site.com?
Any help? :3
Well I want everyone but the two of us to see site.com/website
The link of thread I posted above has details on how to block all people (except defined IPs) from certain websites/folders etc. You've to create htaccess file and do the edits mentioned in that thread.
...I didn't see anything about forwarding them to /website
And it's pretty critical, as that's the old, outdated website we're updating.
It's better than a "Access denied" error isn't it?
Maybe try something like this:

ErrorDocument 403 /website/index.html

<Limit GET POST>
order allow,deny
allow from 200.200.200.200
allow from 200.200.200.200
deny from all
</Limit>

Change 200.200.200.200 to yours and his ip.

I haven't tested this, but it seems logical Wink
Erm, now I'm getting a 403 forbidden, with that code :3
Maybe take a look at this thread: http://www.webhostingtalk.com/showthread.php?t=674043

Otherwise a Google Search may be your best bet.