Webmastersite.net
Register Log In

category name in header
how to prevent space replacement?

Comments on category name in header

rolij
Member

Usergroup: Customer
Joined: May 19, 2005

Total Topics: 18
Total Comments: 42
rolij
Posted Aug 14, 2006 - 6:29 AM:

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?
Paul
developer

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

Total Topics: 61
Total Comments: 7867
Paul
Posted Aug 18, 2006 - 2:39 AM:

Can't duplicate on a regular install, but perhaps you have mod_rewrite on? I'll try that in a bit.
Paul
developer

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

Total Topics: 61
Total Comments: 7867
Paul
Posted Aug 20, 2006 - 8:52 PM:

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.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.