Webmastersite.net
Register Log In

Cat with and in name not working
Category with the word 'and' in it's name gives no content

Comments on Cat with and in name not working

hai
Forum Regular

Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA

Total Topics: 94
Total Comments: 339
hai
Posted Nov 26, 2010 - 5:10 AM:

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?
mc19
Forum Regular

Usergroup: Customer
Joined: May 14, 2006

Total Topics: 41
Total Comments: 103
mc19
Posted Nov 26, 2010 - 6:21 PM:

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)
hai
Forum Regular

Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA

Total Topics: 94
Total Comments: 339
hai
Posted Nov 27, 2010 - 2:21 PM:

Categories with &s are working perfectly, it's the one with the word and in it's name that isn't.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 27, 2010 - 4:45 PM:

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.
hai
Forum Regular

Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA

Total Topics: 94
Total Comments: 339
hai
Posted Dec 07, 2010 - 11:50 AM:

Thanks Paul. Via the Settings > SEO page, I've set spaces to be _ and & to be replaced by and. Everything is loading correctly now.
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.