http://www.domain.com/1/2
to:
http://www.domain.com/trigger.php?page=1&ref=2 (using the digits in the original URL)
However - I do not want the query string displayed in the browser bar, rather still have the original URL. My .htaccess file is as follows:
- Code: Select all
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/(.*)/? trigger\.php?page=$1&ref=$2 [QSA,L]
I've tried many different variations, none seem to make it remain the original URL....
Thanks in advance
Michael