Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Yikes!!! General Prod Meta configs not updating!

    So, basically you're saying that you want to completely turn off the automated stuff and hand-code all your metatag content one by one?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #12
    Join Date
    Apr 2010
    Posts
    897
    Plugin Contributions
    0

    Default Re: Yikes!!! General Prod Meta configs not updating!

    No, not necessarily. I like automating the title. And I probably would not object to the automated description, if it did not repeat the title.

    Setting that aside, ZC meta description is basically doing what the google bot will do anyway (scrub html, present text as description). Difference being that meta descriptions are limited to 200 characters. So what happens to the extra portion that SE's won't take? Do they lop it off and only present your 1st 200 words?

    By giving a meta description, you are telling SE's "This is what I want you to present in the search results." If they lop off 700 characters, only take 200, then you best hope nobody is looking for what appears deeper in the body of your description.

    On the other hand, if you have no meta description, you are not giving SE's any instruction about what to present. They simply log everything from your page. Now lets say someone searches for something that appears below that first 200 characters in your meta desc.

    What will google present to the searcher?

    I'm not sure. It's kind of a rhetorical question. I suspect google logs both, meta descrip and actual content. And they probably automatically decide what to show, based on key word usage.

  3. #13
    Join Date
    Apr 2010
    Posts
    897
    Plugin Contributions
    0

    Default Re: Yikes!!! General Prod Meta configs not updating!

    Ok, I just ran into all these problems again while working on a ZC154 so I wanted to update this thread.

    The fixes on Post#10 suggests searching for a string of code (KEYWORDS), then replacing with text provided. Something has changed in code, so you just have to find the KEYWORDS string that looks similar, then make the change.

    At the end of post #10, I pointed out another problem and asked how to fix it:
    Meta Title shows, then the description wastes content by repeating the title yet again.

    Can somebody show me which line of code to kill in order to stop that?
    When you get indexed, your page will show up like this (problem highlighted in red):
    ----
    Here is Your Product Title
    Here is Your Product Title - This product sure is wonderful. Would you like to
    buy it? You won't regret it! I have lots of things to say about it, only no spa...
    ----

    Anyway, I figured out how to stop the title from repeating. Find this file:
    /public_html/includes/modules/MY_TEMPLATE/meta_tags.php

    Around line 274 (asdfafdafd), you will find this:
    define('META_TAG_DESCRIPTION', str_replace('"','',TITLE . ' ' . $meta_products_name . SECONDARY_SECTION . $meta_products_description . ' '));

    Change to this:
    define('META_TAG_DESCRIPTION', str_replace('"','',TITLE . ' ' . $meta_products_description . ' '));

    After you do that, your page will show up like this:
    ----
    Here is Your Product Title
    This product sure is wonderful. Would you like to buy it? You won't regret it! I have
    lots of things to say about it, and plenty of space to say whatever I want.
    ----

    Hope this helps somebody! :)

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Meta tag for products not updating
    By thomaswhiteeagle in forum General Questions
    Replies: 0
    Last Post: 27 Jan 2011, 09:30 PM
  2. YIKES!! PLEASE HELP! Homepage title, meta info DISAPPEARED!
    By Scorpiowoman in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 21 Nov 2008, 10:25 PM
  3. orders not showing up (yikes!)
    By maclean in forum Managing Customers and Orders
    Replies: 8
    Last Post: 31 Oct 2007, 07:41 PM
  4. prod info pg: 2 description fields? (general, details)
    By dyno in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 10 Oct 2007, 03:47 AM
  5. Just a general Meta tag question
    By uk_papyrus in forum General Questions
    Replies: 2
    Last Post: 6 Oct 2007, 02:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR