htaccess - RewriteCond

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i have two pages that will be converted into static url... may problem
is how the htaccess will determine what is the correct rewriterule
will be implemented to the accessed page. how will i config the
rewritecond statements....

this is the htaccess codes..

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/category\.php
RewriteRule ^([^-]*)-([^-]*)\.html$ /category.php?cat=$1&page=$2 [L]

RewriteRule ^([^-]*)-([^-]*)\.html$ /display.php?id=$1&url=$2 [L]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux