Webmastersite.net
Register Log In

Rewriting category with custom template

Comments on Rewriting category with custom template

webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Rewriting category with custom template
Posted Oct 20, 2012 - 2: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/
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Oct 21, 2012 - 6:45 AM:

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.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.