![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 122 Pomógł: 1 Dołączył: 6.11.2008 Skąd: /etc/passwd Ostrzeżenie: (0%) ![]() ![]() |
Witam, mam adres w postaci index.php?tresci=usun&id=3 i chciałem przepisać to na postać /tresci/usun/3.shtml
Do tego celu użyłem Kod RewriteEngine On RewriteRule ^(.+)/(.+)/(.+)(.shtml)$ index.php?$1=$2&id=$3 [L] Lecz niestety nie działa. Postać RewriteRule ^)(.+)/(.+)(.shtml)$ index.php?$1=$2 [L] działa poprawnie ale przepisuje tylko do postaci /tresci/usun.shtml |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 243 Pomógł: 33 Dołączył: 30.01.2008 Skąd: Wrocław Ostrzeżenie: (0%) ![]() ![]() |
google.pl -> mod rewrite i 1 wynik:
http://sf.jogger.pl/2007/05/02/mod-rewrite-w-przykladach/ |
|
|
![]() ![]() |
![]() |
Aktualny czas: 16.10.2025 - 02:59 |