Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

?page= ..is not rewritten by htaccess


Guest

Recommended Posts

I'm sure this is just a matter of missing an htaccess rule, but whenever any of my categories get big enough for 2+ pages, the urls always look like this:

 

/cat/cat_name.html?page=2

 

My category rule:

RewriteRule ^cat/([^.]+)\.html$ index.php?cPath=$1&%{QUERY_STRING} [NC,L]

 

What could I be missing?

I just tried:

RewriteRule ^([^./]+)/page([0-9]+)\.html$ $1.php?page=$1&%{QUERY_STRING} [NC,L]

 

then manually typed:

/cat/cat_name/page2.html into the browser. no luck

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...