Status
Not open for further replies.

Sponge Bob

Active Member
3,153
2009
192
0
Hello all,

I have a website that has .co.uk, .in, .us, .eu and others... Currently if you visit any site it is the same but if you use a domain to enter in it will stay that on th stop browser, I want it if someone goes to

My domain.eu/hello.html

To go to

My domain.com/hello.html


Please assist. Thanks :)
 
3 comments
you need to do a htaccess redirect

Options +FollowSymLinks
RewriteEngine on

RewriteCond %{HTTP_HOST} ^www.old-domain.com$ [NC]
RewriteRule ^(.*)$ http://www.new-domain.com/$1 [R=301,L]

add all the domains you want to redirect as a rewritecond
make the rewriterule the main domain you want it redirected to
 
Hmm it will be complicated, because i dont have a different folder for each domains on my server.

Secondly i use another cpanel server that acts as a DNS Server and then points it to another server where the website is.

Is there a plugin or something for wordpress instead?
 
Status
Not open for further replies.
Back
Top