I found a small rewrite rule that supposedly does this, but i just cannot get it to work...
Code: Select all
RewriteRule ^(.*)/?(.*)/?$ index.php?page=$1&sub=$2 їL,NC]
php їprint_r($_GET)] returns:
Array
(
їpage] => index.php
їsub] =>
)btw, I am using this in a .htaccess, whenever I activate the rewrite rule, it stops my images/css from displaying.... this is causing me to pull all my hair out