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

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -