My rewrite rule is not working
- by DijkeMark
I need to make a rewrite rule for a page, but it does not work.
I do have mod_rewrite for apache enabled
This is my .htacces file:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^gameofthrones/(full|house|characters)\.(all|Stark|Lannister)\.(html|xml|json)$ index.php?output=$3&house=$2&info=$1
</IfModule>
But when I enter this url:
localhost/school/str-webservices/eindopdracht/index.php?output=html&house=all&info=full
It stays that way, but it should be something like:
localhost/school/str-webservices/eindopdracht/gameofthrones/full/all/html
What am I doing wrong?
Thanks in advance,
Mark