![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 26 Pomógł: 2 Dołączył: 8.11.2011 Ostrzeżenie: (0%) ![]() ![]() |
Problem polega na tym ze gdy daje sobie 2 reguly podobne do siebie np
Kod RewriteRule ^/?([a-z]*)/([a-z]*)/([0-9]*)\.html$ index.php?site=$1&action=$2&id=$3 [NC] RewriteRule ^/?([a-z]*)/([a-z]*)/([0-9]*)\.html$ index.php?site=$1&action=$2&newsID=$3 [NC] i zawsze bierze ten kod na gorze a nie obydwa i moje pytanie jak temu zaradzic ? Moj caly htacces Kod RewriteEngine On RewriteBase / RewriteRule ^/?([a-z]*)/$ index.php?site=$1 [NC] RewriteRule ^([^/]*)/([^/]*)\.html$ index.php?site=$1&picID=$2 [NC] RewriteRule ^/?([a-z]*)/([a-z]*)/([0-9]*)\.html$ index.php?site=$1&action=$2&id=$3 [NC] RewriteRule ^/?([a-z]*)/([a-z]*)/([0-9]*)\.html$ index.php?site=$1&action=$2&newsID=$3 [NC] Nawet jak zmienie kawalek po lewej np bedzie to wygladalo tak: Kod RewriteRule ^/?([a-z]*)/([a-z]*)/([0-9]*)\.html$ index.php?site=$1&action=$2&id=$3 [NC] RewriteRule ^/?([a-z]*)/([a-z]*)/([0-9]*)/$ index.php?site=$1&action=$2&newsID=$3 [NC] To i tak wezmie tylko ta regulke na gorze . Ten post edytował deadwheel 24.04.2013, 18:43:04 |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 14.08.2025 - 00:54 |