Jump to content
Sign in to follow this  
Guest

Linda's metatag contribution...

Recommended Posts

Guest

I'm using your metatag contribution, and it's great! But only 50 characters can be used in the tatle tag for each product. I know I can easily change that, but is there any reason why you did this? I know the title shouldn't be as long as the keywords, etc. but I would like to fit in 15 words or so, which I can't. Just looking for your thoughts, and thanks for the contribution!

Share this post


Link to post
Share on other sites

Hi:

 

I haven't seen that contribution. Can you tell me what it is called, and in which contributions category it is found? I've been wondering how to generate the metatags that I need to optimize my pages for search engines.

 

Thanks,

 

Jason

Share this post


Link to post
Share on other sites
Guest

Header Tags Controller v2.0 in "Other"

 

Sorry i incorrectly named it...

Share this post


Link to post
Share on other sites

I picked 50 as most the time that was sufficient in size.

 

I forget the cut off on titles on the window. But, you can use anything you like. I just did not want to make it huge and waste space.

Share this post


Link to post
Share on other sites

I have installed this great contribution. The index.php page and the catagory page works great. It will show the site name and catagory name.

 

But for the product_info page, I don't know how to modify to show the product name. How could I do this?

 

Thanks.

Share this post


Link to post
Share on other sites

The product name is probably in the string but it is being cut off due to length. The code in includes/header_tags.php has the following for index.php:

 if (HTTA_DEFAULT_ON=='1') {
     $the_title= HEAD_TITLE_TAG_ALL . ' ' . HEAD_TITLE_TAG_DEFAULT . " " . $the_category['categories_name'] . $the_manufacturers['manufacturers_name'];

but it should be something like:

 if (HTTA_DEFAULT_ON=='1') {
  $the_title=  $the_category['categories_name'] . $the_manufacturers['manufacturers_name'] . " - " . HEAD_TITLE_TAG_ALL . ' ' . HEAD_TITLE_TAG_DEFAULT;

Google only allows a certain number of characters in the title string (60 or 80, I can't recall ATM). If you go over that it is cut off so placing the product description at the end of the string is useless.

 

Jack


Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Need Help? See this thread and provide the information requested.

How to Upgrade to the latest version

Recommended SEO Addons

Share this post


Link to post
Share on other sites

Anyone know how to reorder the tag placement ?

 

Currently

1. Description

2. Keywords

3. Title

 

Want

1. Title

2. Keywords

3. Description

 

This will improve SEO.

 

Please help.

 

Thanks,

 

Brad

Share this post


Link to post
Share on other sites
Anyone know how to reorder the tag placement ?

 

Currently

1. Description

2. Keywords

3. Title

 

Want

1. Title

2. Keywords

3. Description

 

This will improve SEO.

 

Please help.

 

Thanks,

 

Brad

Amazing what cocaine will do to your programming!! WHoo hoO!

 

echo ' <title>' . $the_title . '</title>' . "\n";

echo ' <META NAME="Keywords" CONTENT="' . $the_key_words . '">' . "\n";

echo ' <META NAME="Description" Content="' . $the_desc . '">' . "\n";

 

Change that at the end of header_tags.php and it will alter the output order in your header!

 

Quote:

Break it, you have nothing else to do.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×