Forum Moderators: phranque

Message Too Old, No Replies

Rewrite or redirect for URL change

use htaccess to redirect to new url

         

Martin_Sach

1:42 pm on Mar 10, 2005 (gmt 0)

10+ Year Member



I am looking for a method to redirect or re-write from one URL to another. Both URLs are live and pointing to our webspace, and both work. I just want visitors who type in the old URL to have their address bar show the new one so that people get used to our new URL and in time forget the old one. I can see how to redirect a directory or an individual file but not a whole site. I want the user who types in or clicks on:
[oldurl.co.uk...]
to be redirected to
[newurl.co.uk...]

Is this possible?

jdMorgan

5:47 pm on Mar 10, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Martin_Sach,

Welcome to WebmasterWorld!

Yes, it's possible, but the correct solution depends on knowing whether your two domains are hosted in the same filespace, or in separate "accounts."

Jim

Martin_Sach

9:26 am on Mar 15, 2005 (gmt 0)

10+ Year Member



Thanks for that - they are in the same file space. Martin

Martin_Sach

5:28 pm on Mar 15, 2005 (gmt 0)

10+ Year Member



Further update - I have found out that the server is running Zeus web server not apache. I have read elsewhere that the .htaccess method of preventing bandwidth theft may not work on Zeus.