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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -