if i use a link in katalog:
<a href="/katalog/musik">Musik</a>
It opens in the URL:
/katalog/musik/?&kategorie1=musik[NC,L]
and then the page.
But if I open /katalog/musik by myself in the URL the page open too.
The other rules are working fine, also with a .
How can I change it, that if I click on a link on a page, that the ?&... doesn't appear.
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php [NC,L]
RewriteRule ^katalog/([A-Za-z]+)/([A-Za-z]+)/([0-9]+) dienstleister.php?id=$3&kategorie1=$1&kategorie2=$2 [NC,L]
RewriteRule ^katalog/([A-Za-z]+)/([A-Za-z]+) kategorie.php?kategorie1=$1&kategorie2=$2 [NC,L]
RewriteRule ^katalog/([A-Za-z]+) kategorie.php?kategorie1=$1 [NC,L]
RewriteRule ^/katalog/musik?$ kategorie.php [NC,L]
if the page has a specialGET
variable add it also