Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help for redirection in .htaccess please

0 views
Skip to first unread message

bojojo

unread,
Oct 2, 2004, 5:08:13 AM10/2/04
to
Hello
I have two URL for one website : http://my-url-one.com and http://my-url-two.fr
I wish to abandon my-url-one.com in two steps :
1 - redirect all the request for my-url-one.com to my-url-two.fr (to update Google references)
2 - one month later, redirect all the request for my-url-one.com to an html page showing the
modification to all my visitors.
I know that can be done in one line in .htaccess file, but I don't know the syntax of this simple
line.
Please can you help me and give to me the 2 versions of this simple line ?
Thank you very much and sorry for my bad english.


Davide Bianchi

unread,
Oct 2, 2004, 5:52:23 AM10/2/04
to
On 2004-10-02, bojojo <b.j...@wanaddo.fr> wrote:
> 1 - redirect all the request for my-url-one.com to my-url-two.fr

Redirect / http://my-url-two.fr

Davide

--
We all know Linux is great...it does infinite loops in 5 seconds.
-- Linus Torvalds

bojojo

unread,
Oct 2, 2004, 7:50:38 AM10/2/04
to

"Davide Bianchi" <davidey...@onlyforfun.net> wrote:
| > 1 - redirect all the request for my-url-one.com to my-url-two.fr
|
| Redirect / http://my-url-two.fr
|
| Davide

Thank you Davide for your quick response.
I tried it and it don't work. I think it's because my problem is a little bit more complex :
The actual URL for my website are http://my-url-one.com and http://my-url-two.fr
I wish to have only http://my-url-two.fr
So, with your line in .htaccess, whatever the URL you call, it seems that the server go in an
endless loop, calling http://my-url-two.fr again and again and again...
But maybe it's because I dont'use the .htaccess system right ? (I'm a newbie ;-)


0 new messages