Forum Moderators: phranque

Message Too Old, No Replies

Another .htaccess problem.

Another .htaccess problem..

         

lemonsun

11:09 pm on Sep 13, 2007 (gmt 0)

10+ Year Member



Hello,
I have the following entry:

RewriteRule ^(.*)/(.*)/(.*)/(.*)/$ /category.php?cat=$1&subcat=$2&subcat2=$3&page=4 [L]

I need the last "(.*)/" (&page=4) to be optional

it works perfectly in this form:

RewriteRule ^(.*)/(.*)/(.*)/$ /category.php?cat=$1&subcat=$2&subcat2=$3 [L]

But it excludes pagination, witch is not on every result page

Please advice

lemonsun

12:10 pm on Sep 14, 2007 (gmt 0)

10+ Year Member



ok, i've got the answer!

In case if someone interested, please refer to datakoncepts.com/seo

[edited by: jdMorgan at 12:46 pm (utc) on Sep. 14, 2007]
[edit reason] De-linked [/edit]