linux - htaccess redirect wordpress to index2.php -
we have site running on wordpress ada.localhost.com
now request base url (http://ada.localhost.com/) have go through tracking page (track.com/c/0912321323/?u=xxx) u parameter redirect user after tracked.
i've created copy of index.php (index2.php) , want create htaccess rule redirect base url traffic to:
http://track.com/c/0912321323?u=http%3a%2f%2fada.localhost.com%2findex2.html (http://ada.localhost.com/index2.php)
typical wp htaccess file looks
<ifmodule mod_rewrite.c> rewriteengine on rewritebase / rewriterule ^index\.php$ - [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule . /index.php [l] </ifmodule>
any clue on how set , if wordpress allow configuration?
from found wordpress won't work index2.php. solution write plugin deals it.
Comments
Post a Comment