Forum Moderators: phranque

Message Too Old, No Replies

One letter change on url. How to redirect through htaccess

         

simonvlc

9:54 pm on Oct 27, 2005 (gmt 0)

10+ Year Member



Hi all,

I have two domains distinguished by one letter, example-too and example-two.

The working domain is example-too, so one url can be:

http://www.example-too.com/someurl

Is there any form through htaccess of make that the same url but with example-two.com redirecting to the example-too content?

The idea is that if I type

http://example-two.com/someurl

it gives me the valid target [at example-too.com]

Is it possible?

Thank you a lot, Simon.

[edited by: jdMorgan at 11:25 pm (utc) on Oct. 27, 2005]
[edit reason] No URLs, please. See TOS. [/edit]

jd01

10:20 am on Oct 28, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you mean redirects you to example-too, where the content is?

OR

Do you mean serves the content from example-too on example-two?

If the second option is what you are after (it sound like you are from the way I read your question) are you sure you want to do this? Really sure?

Please let us know so we can point you in a direction.

Justin

simonvlc

3:29 pm on Oct 28, 2005 (gmt 0)

10+ Year Member



First case. Ty!

jdMorgan

1:34 am on Oct 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Simon,

Assuming that both domains resolve to your hosted filespace, the techniques discussed in this recent thread [webmasterworld.com] are applicable to your situation.

Jim