apache - Invisible Redirect to another domain for a specific url -


we have issue invisible redirect not working.

we need redirect every request not /intranet domain

we tried following code. read using [p] flag invisible redirect domain, it's not working.

rewriteengine on rewritecond %{the_request} !/intranet [nc] rewriterule .* http://google.be [p,l] rewriterule ^.*$ index.php [nc,l] 

when enter [p] flag domain not being redirected @ all, it's showing current website again.. ( without issues loading css , js files )

without [p] flag it's redirecting google, not invisible..


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -