: Do we have any redirect solution for all of subURL? Suppose I redirect exmpale0.com to example1.com , example1.com is newer. Already , I promoted my exmpale0.com into social networks , Suppose
Suppose I redirect exmpale0.com to example1.com , example1.com is newer. Already , I promoted my exmpale0.com into social networks , Suppose I had:
example0.com/blahblah
Now I have
http://exmpale1.com/blahblah
When I use example0.com, It can redirect to example1.com but I need to every URL what I promote into internet work fine,
Question is, Do you have any redirect solution for all of subURL?
More posts by @Candy875
1 Comments
Sorted by latest first Latest Oldest Best
You want to do a blanket redirect from one domain to another.
Assuming Apache, put in your .htaccess file in the root directory of example0.com:
RewriteEngine on
RewriteRule ^(.*)$ www.example1.com/ [L,R=301]
This will redirect all requests from 0 to 1 and keep the original request URI.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.