Rewriting category with custom template
Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.
Comments on Rewriting category with custom template
Forum Regular
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 187
Total Comments: 465
Posted Oct 20, 2012 - 12:46 PM:
I need to have two versions of my categories running at the same time. I have a second version running at
index.php?action=displaycat&catid=35&custom=yes&TID=lateincat
how do I rewrite this to show as...
/categoryname/late-availabilty/
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
These rules might work:
RewriteRule ^([-_/\+A-Za-z0-9]+)/late\-availability/?$ index.php?rewritten=1&action=displaycat&catname=$1&custom=yes&TID=lateincat
RewriteRule ^([-_/\+A-Za-z0-9]+)/late\-availability/([0-9]+)\.html?$ index.php?rewritten=1&action=displaycat&catname=$1&custom=yes&TID=lateincat&page=$2
If they dnn't work in other .htaccess content, try them in the htaccesstop tweak.