How to add a redirect where the original domain appears in the browsers address bar
I need to redirect a domain, e.g. fromdomain.com, to a destination domain, e.g. todomain.com, with the original domain's URL ,e.g. ).
>>
Please, can someone help me in understanding that statement, and in solving my problem? Can I solve my problem via cPanel without direct editing of .htaccess ?
Thanks
-
Hey there! In my experience, this will require direct editing of the .htaccess file as the cPanel tools don't allow these more advanced redirects. We just can't allow for every possible coding option within the interface. I believe you'll want something similar to this: RewriteEngine On RewriteRule ^(.*)$ http://domain.com/$1 [P]
but there is more discussion on that here: Redirect website but keep the original url in the address bar0 -
[QUOTE]but there is more discussion on that here:
? It is not there for an oversight, it is an explicit Note!0 -
I can't say for sure, as this isn't specifically related to the cPanel tools. 0
Please sign in to leave a comment.
Comments
3 comments