Issue
I want my apache webserver to redirect to other wordpress server but want the same URL on he browser
for this I am using
<virtualhost *:80>
RewriteEngine On
RewriteRule ^(.*) http://example-hello.com/$1 [P]
</virtualhost>
it get redirected but still shows the change of URL which I want it to be Invisible.my web server URL is domain-name.com
Solution
One way to achieve this is to use frames. Not that beauty but fully functional and compliant. Create your index.html page with nothing but the following content:
<frameset rows="100%">
<frameset cols="100%">
<frame src="http://www.yourdomain.com" frameborder="0">
</frameset>
</frameset>
Do not use the common html, head, body (and so on) tags, just what I've showed above.
Then change www.yourdomain.com to your desired wordpress url.
Specs.: https://www.w3.org/TR/1999/REC-html401-19991224/present/frames.html#h-16.2.1
Answered By - statosdotcom Answer Checked By - David Marino (WPSolving Volunteer)