I'd like to use the apache mod_rewrite URL rewriting in the SEO settings set to Yes. When I do this single word categories work fine. Category names that are more than one word with a space (example: Home Decorating) open a page with the following message on that category's link page, and no links.
"No such content exists. The link you are following seems to have been incorrect."
If I use format ({CATREWRITEPATH}-{CATID}/{PAGE}.html) for category rewriting below this works and navigates to the links with no error message. This is how I have the settings currently.
I do have "Replace spaces with_ (must be unique)" set to "_" . Problem is spaces are not replaced by "_" and I get the error message above. I would like spaces replaced with "_" rather than having to use "-{CATID}" if possible.
Not sure why spaces do not get replaced with "_". Does this have something to the collation settings in phpMyadmin set to "latin1_swedish_ci"?
Rewriting with special characters in category names isn't fully supported in the 4.1 series, only in 5.0. It properly falls back to numeric rewriting when you don't have {CATID} in the rewrite scheme, but not when you do, I see.
It looks like a direct copy-paste of the methods from 5.0 works, so I'll include it in 4.1.74.
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.
Comments on mod_rewrite - Category Space Break Link
Member
Usergroup: Customer
Joined: Mar 12, 2005
Location: Southern California
Total Topics: 5
Total Comments: 13
I'd like to use the apache mod_rewrite URL rewriting in the SEO settings set to Yes. When I do this single word categories work fine. Category names that are more than one word with a space (example: Home Decorating) open a page with the following message on that category's link page, and no links.
"No such content exists. The link you are following seems to have been incorrect."
If I use format ({CATREWRITEPATH}-{CATID}/{PAGE}.html) for category rewriting below this works and navigates to the links with no error message. This is how I have the settings currently.
I do have "Replace spaces with_ (must be unique)" set to "_" . Problem is spaces are not replaced by "_" and I get the error message above. I would like spaces replaced with "_" rather than having to use "-{CATID}" if possible.
Not sure why spaces do not get replaced with "_". Does this have something to the collation settings in phpMyadmin set to "latin1_swedish_ci"?
I also noticed if I have a "/" in a category name a "2fp" is in place of the "/". Possible I should not be using a "/" in a category name?
(example: www.locateart.com/partner_d.../sweepstakes2fpcontests-29)
Thanks
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Rewriting with special characters in category names isn't fully supported in the 4.1 series, only in 5.0. It properly falls back to numeric rewriting when you don't have {CATID} in the rewrite scheme, but not when you do, I see.
It looks like a direct copy-paste of the methods from 5.0 works, so I'll include it in 4.1.74.