mod rewrite Perfection
Hi all,
I was wondering if anyone could help me with the following:
markupRewriteRule ^index.php?l=([0-9].*)&s=([0-9]+)&mod=([a-zA-Z]+)&view=([a-zA-Z]+)&no=([0-9]+) /index/league/$1/season/$2/mod/$3/view/$4/num/$5
I want it to replace
markupl=2&s=2&mod=user&view=admin&no=1
to something like:
markup/league/1/season/2/mod/user/view/admin/num/1
Any reason why this wouldn't work?
~RichieC
Well It appears that the URL has not been rewritten at all.
Here is the result of the rewrite after applied:
markupindex.php?l=2&s=3&mod=user&view=admins
And here is the .htaccess file as of now:
RewriteBase / RewriteEngine On RewriteRule ^index\/league\/([0-9]+)\/season\/([0-9]+)\/mod\/([a-zA-Z]+)\/view\/([a-zA-Z]+)\/num\/([0-9]+)$ index\.php\?l=$1&s=$2&mod=$3&view=$4&no=$5