Hi
I have a domain name example.com redirecting to abc.domain.com for the web content. But I need to hide abc.domain.com, so in the browser it will only appear example.com, not abc.domain.com anymore.
Can you please help?
Options +FollowSymLinks
RewriteEngine On
RewriteRule .* http://abc.example.com%{REQUEST_URI} [R=301,L]
They all are in the same server.
There are actually 3 websites.
1. domain.com
2. examplea.domain.com
3. exampleb.domain.com
I also have domain name examplea.com and exampleb.com which are redirected to examplea.domain.com and exampleb.domain.com respectively.
So the documents roots are respectively in
1. domain.com
2. examplea.domain.com
3. exampleb.domain.com
example.com --> public_html/
examplea.example.com --> public_html/examplea/
exampleb.example.com --> public_html/exampleb/
I also have domain name examplea.com and exampleb.com which are redirected to examplea.domain.com and exampleb.domain.com respectively.
What is causing the redirect?
I also have domain name examplea.com and exampleb.com which are redirected to examplea.domain.com and exampleb.domain.com respectively.
What is causing the redirect?
Users browsing this forum: No registered users and 18 guests