paging on clean url tag pages

CLOSED

paging on clean url tag pages

Postby pushpinderbagga » Fri Feb 26, 2010 9:53 am

Hello,

I have a situation here

I have my tag pages as http://www.mydomain.com/tag/amitabh-bachchan/

written cleanly by

Code: Select all
RewriteRule ^tag/([-a-z0-9_]+)/?$ /tag.php?tag=$1 [NC,L]


and

Code: Select all
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{QUERY_STRING} ^(.*&)?tag=([^&]+)(&.*)?$ [NC]
RewriteRule ^tag\.php$ /tag/%2/? [R=301]
RewriteRule ^([-a-z0-9_]+)$ /tag.php?tag=$1 [NC]


I actually now want to introduce paging in these tag pages like

http://www.mydomain.com/tag/amitabh-bachchan/page1/
http://www.mydomain.com/tag/amitabh-bachchan/page2/

I have done this in my category pages http://www.mydomain.com/category1/page1/ by the following code

Code: Select all
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{QUERY_STRING} ^(.*&)?category=([^&]+)(&.*)?$ [NC]
RewriteCond %2/page&%{QUERY_STRING} ^([^&]+/page)&(.*&)?pageNum_rs=([0-9]+)(&.*)?$ [NC,OR]
RewriteCond %2 ^(.+)$ [NC]
RewriteRule ^category\.php$ http://www.okidda.com/%1%3? [R=301,L]


Can anyone help me with my tag page here, any help would be appreciated as we just need to tweak the category code for the tags!

cheers!
pushpinderbagga
 
Posts: 36
Joined: Fri May 22, 2009 9:43 pm

Return to New Threads/Problems

Who is online

Users browsing this forum: No registered users and 3 guests

cron