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 -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -