I use {CATNAME} in header information such as <title>{CATNAME}</title> and <meta name="description" content="{CATNAME}">.
For some reason spaces in category name are replaced with underlines, the same way as I use space replacement in SEO settings. I use category names in URL. But I want to show category name in header information without space replacement. Is this possible?
Comments on category name in header
Member
Usergroup: Customer
Joined: May 19, 2005
Total Topics: 18
Total Comments: 42
Paul,
I use {CATNAME} in header information such as <title>{CATNAME}</title> and <meta name="description" content="{CATNAME}">.
For some reason spaces in category name are replaced with underlines, the same way as I use space replacement in SEO settings. I use category names in URL. But I want to show category name in header information without space replacement. Is this possible?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Can't duplicate on a regular install, but perhaps you have mod_rewrite on? I'll try that in a bit.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
It's because catname is a url parameter with mod_rewrite. Altered the behavior for 3.4.2 so that it uses the category variable first.