![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 8 068 Pomógł: 1414 Dołączył: 26.10.2005 Ostrzeżenie: (0%) ![]() ![]() |
/a.php?id=234
/?id=234 chciałbym przekierować na: /234 bo później coś takiego na: RewriteRule ^([0-9]+)$ /index.php?id=$1 (IMG:style_emoticons/default/smile.gif) Wymodziłem cościk takego Kod RewriteCond %{REQUEST_FILENAME} ^i.php$ 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 (IMG:style_emoticons/default/smile.gif) Ten post edytował Pyton_000 18.12.2014, 15:28:13 |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 6 806 Pomógł: 1828 Dołączył: 11.03.2014 Ostrzeżenie: (0%) ![]() ![]() |
Kod RewriteCond %{REQUEST_URI} ^/$ [OR] RewriteCond %{REQUEST_URI} ^/a.php$ RewriteCond %{QUERY_STRING} ^id=([0-9]+)$ RewriteRule ^(.*)$ /%1? [L,QSA] |
|
|
![]() ![]() |
![]() |
Aktualny czas: 23.08.2025 - 07:14 |