JavaScript, PHP, html5, CSS, Rewrite, GMap, ...

Kategorie
  • CSS (98)
  • Docker (3)
  • Github (1)
  • GMap (47)
  • Hosting (1)
  • htaccess (18)
  • HTML (70)
  • HTTP (8)
  • Intellij IDEA (6)
  • JavaScript (210)
  • jQuery (27)
  • JSON (3)
  • Leaflet (7)
  • Linux (46)
  • MySQL (33)
  • Nauka (2)
  • Nodejs (4)
  • Opera (1)
  • Perl (17)
  • PHP (139)
  • PostgreSQL (34)
  • Programy (11)
  • React (6)
  • Rejestr (3)
  • Rewrite (9)
  • Smarty (27)
  • SQL (19)
  • SQL Server (10)
  • SVG (4)
  • System (11)
  • Telefony (6)
  • VBA (7)
  • VBSCRIPT (32)
  • Windows (24)
  • Wordpress (24)
  • WYSIWYG (6)
  • XML (6)
15 Lip 2009

Odczytanie kategorii w rewriterule

RewriteRule ^(.*),(.*).html$ /index.php?uid=$2&element=strona [L]
RewriteCond %{REQUEST_FILENAME} !(images|css|js)
RewriteCond %{REQUEST_FILENAME} !admin
RewriteCond %{REQUEST_FILENAME} !index.php
RewriteRule ^(.*)$ /index.php?uid=$1&element=kategoria [L]

Przykładowe url:
http://www.wolakorybutowa.pl/opis
http://www.wolakorybutowa.pl/opis,zabytki.html

REQUEST_FILENAME RewriteCond RewriteRule
Poprzedni Porównanie plików pod linuxem
Następny Odczyt atrybutu title
Copyright © | kodyWiG Theme