![]() |
![]() |
![]()
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: 4 655 Pomógł: 556 Dołączył: 17.03.2009 Skąd: Katowice Ostrzeżenie: (0%) ![]() ![]() |
Cytat /tresci/usun/3.shtml ^([a-z]+)/([a-z]+)/([0-9]+).shtml$ |
|
|
![]() ![]() |
![]() |
Aktualny czas: 18.10.2025 - 07:26 |