I have created a subcategory called 'Food and Drink' (highaspirations.com/links/g...gift_ideas/food_and_drink/) but when I attempt to visit it, I receive a message saying "No such content exists. The link you are following seems to have been incorrect." However, a subcategory called 'Food & Drink' (highaspirations.com/links/g...ft_ideas/food__and__drink/) works perfectly. Have I missed a setting somewhere? I know there is one on the SEO section to convert &s to _and_ but did I miss one telling it to leave 'and' alone?
If your rewrite character for spaces is _ and your rewrite for ampersands is _and_ then there's an abiguity that will break any category with " and " in the name. The ambiguity is only autohandled for the simple case of "and" without the underscores, if you use anything but "and" as the rewrite for ampersands then you have to make it something unique that wouldn't appear in any of your category URLs.
Comments on Cat with and in name not working
Forum Regular
Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA
Total Topics: 94
Total Comments: 339
I have created a subcategory called 'Food and Drink' (highaspirations.com/links/g...gift_ideas/food_and_drink/) but when I attempt to visit it, I receive a message saying "No such content exists. The link you are following seems to have been incorrect." However, a subcategory called 'Food & Drink' (highaspirations.com/links/g...ft_ideas/food__and__drink/) works perfectly. Have I missed a setting somewhere? I know there is one on the SEO section to convert &s to _and_ but did I miss one telling it to leave 'and' alone?
Forum Regular
Usergroup: Customer
Joined: May 14, 2006
Total Topics: 41
Total Comments: 103
I set up similar categories like yours, but I do not have the problem you mentioned.
On admin section, under Setting -> SEO , I have the following.
Replace ampersands with and (must be unique)
Forum Regular
Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA
Total Topics: 94
Total Comments: 339
Categories with &s are working perfectly, it's the one with the word and in it's name that isn't.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
If your rewrite character for spaces is _ and your rewrite for ampersands is _and_ then there's an abiguity that will break any category with " and " in the name. The ambiguity is only autohandled for the simple case of "and" without the underscores, if you use anything but "and" as the rewrite for ampersands then you have to make it something unique that wouldn't appear in any of your category URLs.
Forum Regular
Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA
Total Topics: 94
Total Comments: 339
Thanks Paul. Via the Settings > SEO page, I've set spaces to be _ and & to be replaced by and. Everything is loading correctly now.