Hi guys,
I have been at this for 2 days now and I can't seem to get it to work
I want domain1.com to redirect to subdomain.domain2.com/folder/subfolder and then show domain1.com in the address bar
I'm currently using this (hosted on domain1.com):
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain1.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.domain1.com$
RewriteRule ^(.*)$ http://subdomain.domain2.com/folder/subfolder [R=301,L]
This actually works fine and domain1.com / www.domain1.com link to subdomain.domain2.com/folder/subfolder - but this is also showing up in the address bar
I would just like to have www.domain1.com showing instead of that
any suggestions?
thank you so much!
cp