Hi, I've added a .htaccess file to my root folder for the purposes of rewriting dynamic URLs into static ones. This seems to have been done successfully but I am having problems with page numbers.
For example, if you were to visit a static page /widgets
, the first page of the products is fine....but subsequent pages show up as /products.php?cat=27&pg=2
etc. What I want is for subsequent pages to be in the form of /widgets-pg2
or /widgets?pg=2
.
Below is my rewrite rule that I used for the initial category page:-
RewriteRule ^widgets$ products.php?cat=27
If any of you experts can help with this, it would be much appreciated.