Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
Title tag in Categories

 

 


sji2671
New User

Oct 3, 2006, 12:52 PM

Post #1 of 6 (3294 views)
Shortcut
Title tag in Categories Can't Post

Can someone tell me what I would need to change so that the Categories.asp page showed the Category name in the <title> for seo purposes.

Articles & sitename are used for the template but when you click on a category only the sitename is used in the <title>, I need this to also state the category name,



Thanks!


Silvatti
User

Oct 3, 2006, 1:08 PM

Post #2 of 6 (3293 views)
Shortcut
Re: [sji2671] Title tag in Categories [In reply to] Can't Post

Have you tried inserting $cat_name_he$ in the template?


ross
Staff / Moderator


Oct 3, 2006, 1:38 PM

Post #3 of 6 (3289 views)
Shortcut
Re: [sji2671] Title tag in Categories [In reply to] Can't Post

Hi there

Thanks for posting and welcome to the board!

Silvatti’s suggestion should actually get you on the right track; thanks Silvatti! The $cat_name_he$ placeholder will display the name of the category you are browsing. Just add that to the <title> tag and republish your articles.

Give it a shot and let me know how you make out Smile
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/



sji2671
New User

Oct 4, 2006, 10:16 AM

Post #4 of 6 (3273 views)
Shortcut
Re: [ross] Title tag in Categories [In reply to] Can't Post

I presume it is the categories.asp page that I need to alter.

Currently the title is:
<title><%=siteName%></title>

How can I display the name of the category in the browser title tag, $cat_name_he$ or <%$cat_name_he$%> don't work.

I thought changing the <head> title tag to:
<title><%catName%> - <%=siteName%></title>

might work but it doesn't.

Thanks
Scott


Silvatti
User

Oct 4, 2006, 10:24 AM

Post #5 of 6 (3272 views)
Shortcut
Re: [sji2671] Title tag in Categories [In reply to] Can't Post

I have to admit I'm much of a novice on .asp. Purely out of my own curiosity, under SETUP OPTIONS --> SERVER, do you have your default file extension set to .asp?

At any rate, I think what you'll want to do is edit the files located in the /cgi-bin/artman/templates/ directory (including many of the files in its subdirectories, if you want the same effect on all pages generated by AM). Because I'm just not familiar enough with ASP to even begin knowing how to debug, I'd just recommend inserting $cat_name_he$ precisely where you need it between the <TITLE> tags. Then log on AM with Administrator privileges, go to SETUP OPTIONS, scroll down and hit the PUBLISH ALL button for your changes to take effect.

For my part, I just write out the web site's name like so:

<title>$cat_name_he$ - Mysite.com</title>

Hope this works.


(This post was edited by Silvatti on Oct 4, 2006, 10:25 AM)


ross
Staff / Moderator


Oct 4, 2006, 4:00 PM

Post #6 of 6 (3263 views)
Shortcut
Re: [sji2671] Title tag in Categories [In reply to] Can't Post

Hi Scott.

Thanks for the update!

I am actually a little confused because categories.asp isn’t actually one of the default Article Manager templates.

The ones I was thinking of were:

/article/default.html
/index/default.html
/search/advanced_search.html
/search/search_results.html

Do you have these four templates? Try adding just $cat_name_he$ to the <head> section like this:


Code
<head><title>$cat_name_he$</title></head>


Remember to republish your articles after making the template changes Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/