logo
WSN Links PHP Directory Software
Features Showcase Reviews Demos Purchase Manual Support
 

can commas be replaced by mod_rewrite?

Version:


can commas be replaced by mod_rewrite?
hai
Experienced

Usergroup: Customer
Joined: Apr 03, 2007
Total Topics: 23
Total Posts: 87
Posted 03/05/08 - 10:04 PM:
quote post
#1
Some of my categories have commas in them so when using URL rewriting it reverts back to the category ID, is there a way to replace commas with another character in the same way spaces are replaced with underscores?
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 49
Total Posts: 5539
Posted 03/06/08 - 05:38 PM:
quote post
#2
You'll have to use a rewrite scheme that includes the id (like {CATREWRITEPATH}-{CATID}/{PAGE}.htm) in order for special characters to work. Even if I added yet a third replacement option after spaces and ampersands, you'd have to be replacing it with something else that you'd never want to mean literally.
hai
Experienced

Usergroup: Customer
Joined: Apr 03, 2007
Total Topics: 23
Total Posts: 87
Posted 03/06/08 - 07:50 PM:
quote post
#3
I had actually figured most of that out, but I don't know enough about rewrite to be able to actually implement it. Everything I tried wouldn't work and I wasn't able to figure it out from the existing htaccess.

The more I think about it the less important it becomes so I guess I'll just leave it as is. Thanks for your help.
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

Admin Control Panel

   
Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support
© 2008 Paul Knierim. All rights reserved.