Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

?page= ..is not rewritten by htaccess


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:




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


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

  • Create New...