PDA

View Full Version : Same forum,same server, new Domain?


Fotno
09-14-2008, 06:15 PM
I know this is probably simple to do,but I'm not really proficient yet.
I just want to change the domain for my forum.
I have made an alias domain for my domain now,but of course the old url shows up after putting in the alias url.I don't want my old url to show up at all.
I'd appreciate any help I could get with this problem.
Thanks.

--------------- Added 1221430810 at 1221430810 ---------------

Anybody?

Dismounted
09-15-2008, 05:25 AM
So you want to get rid of the old URL in the first place? Or do you want to keep both URLs?

Fotno
09-15-2008, 12:08 PM
I would like to get rid of my old URL and go with my new one.

space?
09-15-2008, 01:36 PM
You can do this easily with an HT-302 redirect.

Fotno
09-15-2008, 02:06 PM
Could you elaborate on that please?
How do I implement?

punchbowl
09-15-2008, 02:21 PM
put this in a .htaccess file in the root of your old domain

RewriteEngine on
RewriteRule ^/~(.+) http://newdomain.com/~$1 [R,L]

Fotno
09-15-2008, 11:37 PM
Thanks.I'll give it a try.