I'm trying to build a website upon different $_GET params.
I have
http://localhost/hundesiden/hunde/?race=labrador
I would like to be
http://localhost/hundesiden/hunde/labrador
and
http://localhost/hundesiden/hunde/?race=labrador&tilbehor=hundebur
to be
http://localhost/hundesiden/hunde/labrador/hundebur
I've tried different things in .htaccess - but can't accomblish what I want, can you help?
My .htaccess is this (doesn't work):
RewriteEngine On
RewriteBase /
RewriteRule ^hundesiden/hunde/([^/.]+)/?$ hundesiden/hunde/index.php?race=$1 [L,QSA,NC]