Zen Cart Logo
Forums / Basic Configuration / Help with Meta name description and keywords

Help with Meta name description and keywords

Views: 5,245

Results 1 to 13 of 13
24 Aug 2012, 4:34 AM
#1
bedlamite avatar

bedlamite

New Zenner

Join Date:
Jan 2010
Location:
Las Vegas
Posts:
6
Plugin Contributions:
0

Help with Meta name description and keywords

i have seen other threads regarding this issue and i'm still confused. :blush:

here's a background.
i'm working with 1.3.8 version
i paid to have someone build my website so i know virtually NOTHING when it comes to website building,altering etc. (i tried to call the company that built it for help but they won't return my call)

what i'm trying to do is change the 'description' and 'keywords' that are currently listed when i right click on my main page and look at 'view source'.
i've read ''you can find it in includes/ language/english folder etc.'' but i still don't know where to find these folders directly in my zen cart!? i've found the folders on my godaddy site where i did a back up of the website but don't know how to apply the changes/upload so it will show up on the internet.
please help if you can, would greatly appreciate it!

1 Sep 2012, 7:22 PM
#2
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

Re: Help with Meta name description and keywords

It might help if you gave a link or non-text address to your site so the forum can see.

There is a meta_tags.php file under languages, but it is of limited value, IMO.

The real way to add CUSTOM meta tags for categories and products is to go to admin/categories and use the bio-hazard symbol, which is where you set custom meta tags. You have an old, outdated cart but if you have an Easy Populate with meta tag support, it can go much faster.

Or you can just let Zencart generate the meta tags by default. Zencart uses the product name for the meta title, etc.

I would think that upgrading your cart might be more urgent than the meta tags. I just did mine yesterday with a fresh 1.5 install, new DB and new template on my main site.

3 Sep 2012, 3:24 AM
#3
bedlamite avatar

bedlamite

New Zenner

Join Date:
Jan 2010
Location:
Las Vegas
Posts:
6
Plugin Contributions:
0

Re: Help with Meta name description and keywords

this is the link to my main page where i have the issue. http://bedlamiteclothing.com when you right click on the page and view source it says "GIFT SETS HAND PAINTED ITEMS ETC." on line 7, this is what i want to change. i really appreciate your feedback and if you know where/how i can change this info i would just be so grateful. i don't show up anywhere in any search engines when looking for my type of stuff. it's so frustrating. thanks again in advance!

3 Sep 2012, 3:26 AM
#4
bedlamite avatar

bedlamite

New Zenner

Join Date:
Jan 2010
Location:
Las Vegas
Posts:
6
Plugin Contributions:
0

Re: Help with Meta name description and keywords

oh and i will try and upgrade too! thank you!

3 Sep 2012, 4:28 PM
#5
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,097
Plugin Contributions:
56

Re: Help with Meta name description and keywords

Use your admin's Tools->Developers Tool Kit and search for GIFT SETS HAND PAINTED ITEMS in all catalog files. You'll most likely find that those phrases are in /includes/languages/english/theme125/meta_tags.php.

4 Sep 2012, 5:12 AM
#6
bedlamite avatar

bedlamite

New Zenner

Join Date:
Jan 2010
Location:
Las Vegas
Posts:
6
Plugin Contributions:
0

Re: Help with Meta name description and keywords

lat9:

Use your admin's Tools->Developers Tool Kit and search for GIFT SETS HAND PAINTED ITEMS in all catalog files. You'll most likely find that those phrases are in /includes/languages/english/theme125/meta_tags.php.

i tried to update my zen cart but can't figure it out. and i went to 'developers took kit' and search. it gave me an error message saying those words could not be found. so then i went to 'define pages editor' and tried to see the main page and it was blank ? i'm at a loss. :unsure:

17 Oct 2012, 3:16 PM
#7
btaylor351 avatar

btaylor351

New Zenner

Join Date:
Aug 2011
Posts:
10
Plugin Contributions:
0

Re: Help with Meta name description and keywords

lat9:

Use your admin's Tools->Developers Tool Kit and search for GIFT SETS HAND PAINTED ITEMS in all catalog files. You'll most likely find that those phrases are in /includes/languages/english/theme125/meta_tags.php.

These phrases are your categories and are automatically put in by zencart as it builds the keywords metatag. Looking at the code, I'm not seeing any option to switch this function off other than removing code from the html_header.php file in the includes/templates/template_default/common folder. If anyone has a better idea, would love to hear it.

19 Oct 2012, 7:24 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Help with Meta name description and keywords

BTaylor351:

These phrases are your categories and are automatically put in by zencart as it builds the keywords metatag. Looking at the code, I'm not seeing any option to switch this function off other than removing code from the html_header.php file in the includes/templates/template_default/common folder. If anyone has a better idea, would love to hear it.
No, if you must break the default functionality, you can write your own custom code by cloning and then customizing the meta_tags.php module file. Don't mess with the html_header.php file.

19 Oct 2012, 10:48 AM
#9
btaylor351 avatar

btaylor351

New Zenner

Join Date:
Aug 2011
Posts:
10
Plugin Contributions:
0

Re: Help with Meta name description and keywords

DrByte:

No, if you must break the default functionality, you can write your own custom code by cloning and then customizing the meta_tags.php module file. Don't mess with the html_header.php file.

I'm learning both zencart and php as I go along but I don't understand how changing the meta_tags.php could stop coding in the html_header.php file.... ?

19 Oct 2012, 4:36 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Help with Meta name description and keywords

Simple:
html_header.php ONLY OUTPUTS the values generated by the meta_tags.php module.

So, if you want to change the output, you must change the code that calculates the output, and that is done in the meta_tags.php module file.

20 Oct 2012, 4:20 PM
#11
btaylor351 avatar

btaylor351

New Zenner

Join Date:
Aug 2011
Posts:
10
Plugin Contributions:
0

Re: Help with Meta name description and keywords

DrByte:

Simple:
html_header.php ONLY OUTPUTS the values generated by the meta_tags.php module.

So, if you want to change the output, you must change the code that calculates the output, and that is done in the meta_tags.php module file.

Lol, said I was still learning, thank you.

My apologies too I must of had the html_header.php open at the same time as the meta_tags module, it is the meta_tags.php module that has the code in it for including the top categories into the keywords, sorry for the confusion. As you say, it is this one that would need changing.

Was also confusing myself with the meta_tags.php as a module and as the file in the languages/english directory, was thinking of the one in the languages/english area when I posted my question, no wonder I didn't understand it.

Thanks again.

15 Nov 2013, 1:25 AM
#13
mayleesboutique avatar

mayleesboutique

New Zenner

Join Date:
Sep 2011
Location:
Utah, US
Posts:
9
Plugin Contributions:
0

Re: Help with Meta name description and keywords

I'm trying to edit the default meta tags of my company's healthcare products website similar to what's been discussed here, but I'm running into some snags.

Looking at our store, it appears as if the default meta description is made using the product description (or some portion of it). I'd like to change the meta description on the product pages (not the categories) to say, "Buy [product_name] from ProHealthcareProducts.com."

Does anyone have any idea where in the Zen Cart files I can make that kind of change?