Tomek
Sat 23rd Oct '04, 6:44am
Hi,
I'm looking for the best way to redirect some Domains to a Site.
Example situation:
- Forum is installed on http://www.maindomain.de/forum/
- if someone types the URL http://www.maindomain.de, he should be redirect to http://www.maindomain.de/forum/
- there are two other Domains domain1.de and domain2.de, that should be redirected to http://www.maindomain.de/forum/
- the redirections should be spider-friendly
At the moment I'm doing all this with html and meta refresh:
<meta http-equiv="refresh" content="0; URL=http://www.maindomain.de/forum/" />
There is propably a better way to do this, perhaps with mod_rewrite. But I don't know how.
Thanks for any assistance.
I'm looking for the best way to redirect some Domains to a Site.
Example situation:
- Forum is installed on http://www.maindomain.de/forum/
- if someone types the URL http://www.maindomain.de, he should be redirect to http://www.maindomain.de/forum/
- there are two other Domains domain1.de and domain2.de, that should be redirected to http://www.maindomain.de/forum/
- the redirections should be spider-friendly
At the moment I'm doing all this with html and meta refresh:
<meta http-equiv="refresh" content="0; URL=http://www.maindomain.de/forum/" />
There is propably a better way to do this, perhaps with mod_rewrite. But I don't know how.
Thanks for any assistance.