Forum Moderators: phranque
Having a bit of an issue trying to come up with rules to clean up the way the paging is displayed on my site. I have paging at the category level and also paging within articles themselves, and both are generated differently. Below are the rules I am working with currently which I am looking to extend and/or add to so that I get a clean URL structure across my site.
RewriteCond %{REQUEST_FILENAME}!-f
RewriteCond %{REQUEST_FILENAME}!-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
With the above rules these are the results I get when people are browsing the second page at the category level;
URL in browser
http://example.com/category?page=1 http://example.com/category/page_1 index.php q=category&page=1 When people are browsing multipage articles the URL of the second page looks like this;
URL in browser
http://example.com/category/article?page=0%2C1 http://example.com/category/article/page_1 index.php q=category/article&page=0%2C1 Hopefully someone can help me as I'm struggling to create the rules to get all this working at the moment.
Jim