php - Htaccess proxy redirect wordpress error -
i want redirect domaina.com/folder/ originates within older wordpress installtion domainb.com/folder1/folder2/ link page within new wordpress installation wihtout url changing.
i have managed achieve this .htaccess file inside domaina.com/folder/ reads:
rewriteengine on rewritecond %{request_uri} ^/folder rewriterule ^(.*)$ http://www.domainb.com/folder1/folder2/ [p]
the rewriterule [p] (proxy) flag want , redirects page without changing url but of content within enfold wp template such advanced layer slider , icons fail load.
i assume error due sort of conflict wp's native htaccess code , suspect has lines:
rewritebase / rewriterule ^index\.php$ - [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule . /index.php [l]
i have experimented adding first, third , fourth lines code doesnt work. know how resolve issue?
if makes difference wordpress site want direct (domainb.com/folder1/folder2/) 1 whithin wordpress network.
for moment have changed [p] flag [l] flag redirects , works changes url.
any or advice appreciated. thank you!
try change paths of images (the urls) in advanced layer slider , icons urls relative absolute ones (as described in rfc 2396), can use [p]
flag in .htaccess
again.
often plugins uses relative paths when outputting content, can cause such type of troubles.
Comments
Post a Comment