Webmastersite.net
Register Log In

Extra category pages (url rewrite)

Comments on Extra category pages (url rewrite)

webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Posted May 27, 2009 - 8:01 AM:

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.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted May 27, 2009 - 4:40 PM:

What are the non-rewritten URLs of these pages and what do you want them rewritten as?
webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Posted Jun 03, 2009 - 10:02 AM:

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
webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Posted Jun 03, 2009 - 10:50 AM:

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
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.