- Code: Select all
RewriteRule (.*).html http://www.fantastictutorials.com/catch.php?1=$1
RewriteRule (.*)/(.*).html http://www.fantastictutorials.com/catch.php?1=$1&2=$2
RewriteRule (.*)/(.*)/(.*).html http://www.fantastictutorials.com/catch.php?1=$1&2=$2&3=$3
catch.php is used by me, just to display what has been sent to to it. This thing sure returns some crazy results, I'm not sure if that's my bad design - or somethings wrong. Sometimes the values sent to catch.php is a string like 'catch.php'.
Could someone please help me with this?