Redirection for customer with new ISP

They have: 6 posts

Joined: May 1999

Is there an easy way to have requests to a Web site redirected to the new URL when a site is moved to a new ISP. The site was virtualy hosted by the first ISP but now it will be hosted on our server under its own domain name. I need to redirect users looking for the site at its old address to be able to find it at its new address.

Any Ideas???

They have: 5,633 posts

Joined: Jan 1970

I think your best bet would be to put up a page saying that the site had moved (this way, users that have bookmarked your site know that they need to change the bookmark) and setup a meta redirect tag that sends them to the new site after like ten seconds. The code for the meta tag would look like:

code:

<meta http-equiv=REFRESH content="8;URL=http://www.newdomain.com">[/code]

Replace the "8" with the number of seconds you would like the page to wait before redirecting and "http://www.newdomain.com" with the location of the new site.

------------------
Dynamic Internet Solutions :  http://www.dids.com 
Windows NT and UNIX Hosting 
Brian Farkas's picture

They have: 1,015 posts

Joined: Apr 1999

If your old ISP was unix and ran Apache (which a lot of hosts do) you can make a .htaccess file in the main HTML directory with one line in it:

code:

Redirect /  http://www.yoursite.com 
[/code]

Replace yoursite.com with the new URL to your site and it will redirect seamlessly

[This message has been edited by Brian Farkas (edited 09 January 2000).] 

They have: 850 posts

Joined: Jul 1999

I just found at interesting article on Builder.com:
http://www.builder.com/Authoring/Tagmania/011000/?tag=st.bl.3880.tpg.bl_tagcol

------------------
1 in 5,000 north atlantic lobsters are born bright blue.

Jaiem's picture

They have: 1,191 posts

Joined: Apr 1999

What happens when the old ISP deletes your account? Won't the redirect go away?

For that matter, if you've moved your domain to another company why doesn't your URL point to the new company?

------------------
ArtsNFlies.com
"It's not really a flyfishing shop, more like a Martha Stewart goes fishing thing!"

Original art, hand tied flies, unique books and gifts, free sweepstakes and MORE!
Come see what everyone is talking about!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.