/?id=234
chciałbym przekierować na:
/234
bo później coś takiego na:
RewriteRule ^([0-9]+)$ /index.php?id=$1
Wymodziłem cościk takego
Kod
RewriteCond %{REQUEST_FILENAME} ^i.php$
RewriteCond %{QUERY_STRING} ^id=([0-9]+)$
RewriteRule ^(.*)$ /$1 [L,QSA]
RewriteCond %{QUERY_STRING} ^id=([0-9]+)$
RewriteRule ^(.*)$ /$1 [L,QSA]
Ale to oczywiście nie daje rezultatu bo zwraca ten sam string.
234 we wszystkich jest celowe