Do we have any redirect solution for all of subURL?
Do we have any redirect solution for all of subURL? - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Do we have any redirect solution for all of subURL? error on your web browser. Problem :
Solution :
We hope that this article has helped you resolve the redirects, url, mod-rewrite error in your web browsers. Enjoy browsing the internet uninterrupted!
Suppose I redirect exmpale0.com to example1.com , example1.com is newer. Already , I promoted my exmpale0.com into social networks , Suppose I had:
http://example0.com/blahblah
Now I have
http://exmpale1.com/blahblah
When I use http://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?
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 ^(.*)$ http://www.example1.com/$1 [L,R=301]
This will redirect all requests from 0 to 1 and keep the original request URI.
Comments
Post a Comment