I'm having a helluva time trying to understand this, and I'm really hoping that someone can help me with creating a rewrite rule to achieve the following:
I need the following:
http://DOMAIN.co.za/CATEGORY/page/2/
redirected to:
http://DOMAIN.co.za/CATEGORY&paged=2
(I know it seems strange, rewriting a clean url, but the clean url doesn't work with a wordpress plugin)
At the moment, I've got a rule which works great for the specific category, but I have no idea how to include a "wildcard" entry:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^CATEGORY/page/2/?$ http://DOMAIN.co.za/CATEGORY&paged=2 [R=301,L]
works great, but I wouldn't like to have to write one for every category on the site, and another for every page in that category...
help?
I need the following:
http://DOMAIN.co.za/CATEGORY/page/2/
redirected to:
http://DOMAIN.co.za/CATEGORY&paged=2
(I know it seems strange, rewriting a clean url, but the clean url doesn't work with a wordpress plugin)
At the moment, I've got a rule which works great for the specific category, but I have no idea how to include a "wildcard" entry:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^CATEGORY/page/2/?$ http://DOMAIN.co.za/CATEGORY&paged=2 [R=301,L]
works great, but I wouldn't like to have to write one for every category on the site, and another for every page in that category...
help?