![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 358 Pomógł: 0 Dołączył: 19.04.2012 Ostrzeżenie: (0%) ![]() ![]() |
Witam,
mam taki htaccess: Kod Options FollowSymLinks RewriteEngine On DirectoryIndex index.php RewriteBase / RewriteCond %{REQUEST_URI} !^/index.php RewriteRule ^([^,]*)/([^,]*)/([^,]*).html$ index.php?page=$1&cat=$2&id=$3 [L] RewriteRule ^([^,]*)/([^,]*)?/$ index.php?page=$1&cat=$2 [L] RewriteRule ^(.*)?/$ index.php?page=$1 RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] i ładnie działa, ale chciałbym zrobić, że na końcu nie musi być "/". Wygooglowałem że trzeba dać pytajnik za slashem, ale jak zmienię to: Kod RewriteRule ^(.*)?/$ index.php?page=$1 na to: Kod RewriteRule ^(.*)/?$ index.php?page=$1 to nie ładuje mi styli. Mam ustawiony base href odpowiednio, ale nie pomaga. Czy tylko zmiana na linki bezpośrednie może pomóc ? Ten post edytował d.stp 29.01.2014, 11:18:44 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 18.09.2025 - 19:24 |