joined:Mar 5, 2014
I've got multiple domains redirected to my site via 301.
domain1.com leads to domain.com/1
domain2.com leads to domain.com/2
domain3.com leads to domain.com/3
All this works fine, but when I get traffic to the following addresses:
domain1.com/test the url on my site redirects to domain.com/1test.
How could I via .htaccess and the webserver I use on domain.com get all the traffic to domain1.com to just redirect to domain.com/1 without adding the subpages to the end of the redirect?
I don't have any hosts on the domain1.com, domain2.com etc. The domain just have an www-redirect via 301 to domain.com/1/2/3 etc.
Any help would be much appreciated.