Extra category pages (url rewrite)
Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.
Comments on Extra category pages (url rewrite)
Forum Regular
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 187
Total Comments: 465
I want to create categories that have three pages. I will use custom templates for the the two extra pages.
How do I do a url rewrite for the extra pages so that when I create new categories, the extra pages are available.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
What are the non-rewritten URLs of these pages and what do you want them rewritten as?
Forum Regular
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 187
Total Comments: 465
OK, so I want to create 3 custom pages for each category...
index.php?action=displaycat&catid=45&custom=y es&TID=accommodation
{CATREWRITEPATH}/accommodation. php
...
index.php?action=displaycat&catid=45&custom= yes&TID=attractions
{CATREWRITEPATH}/attractions.php
...
index.php?action=displaycat&catid=45&custom=yes&T ID=photos
{CATREWRITEPATH}/photos.php
Forum Regular
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 187
Total Comments: 465
It's OK, i worked it out...
RewriteRule ^([-_/\+A-Za-z0-9]+)/attractions.html?$ index.php?rewritten=1&action=displaycat&catname=$1&custom=ye s&TID=attractions