Results 1 to 10 of 177

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: Desert Noon Template Support Thread

    Clyde

    I redid my website http://www.hornsales.com a few months back. And I decided to use desert noon ver 1.0 as my template. At the same time I installed the SEO URL add on. I changed my directory structure etc. It was a massive overall. Needless to say that meant all the links I had in search engines didn't go to the right place anymore. I didn't just update an old install I did a fresh install of zen cart ver 1.3.9.

    But I noticed that even after months of submitting sitemaps and making sure robots.txt was correct. Search engines were not showing any links what so ever to my website. For some reason I decided to do View Source on one of my product pages and was astonished to see a
    meta tag Robots NOINDEX NOFOLLOW.

    Which meant even though the search engines were visiting my site that page was not being indexed. SO I checked a few more products and the same thing was on every page.

    SO it had to be global. After checking several files I found the culprit

    /includes/templates/desertnoon/common/html_header.php

    That line was in there. As soon as I deleted it. Poof all my pages no longer had the meta tag for robots on it. So I checked my original files and the line is in my orginal files for ver 1 of desert noon. And I downloaded the newest version and the line is slightly different in the new version, but appears it will do the same thing.

    Is this intentional on your part or is it possible something is wrong with my install that is misinterpreting that command line. Because it seems to me that the command line you have in that file is to only tell the robots not to index certain pages like order total etc.

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Desert Noon Template Support Thread

    Quote Originally Posted by hornsales View Post
    Clyde

    I redid my website http://www.hornsales.com a few months back. And I decided to use desert noon ver 1.0 as my template. At the same time I installed the SEO URL add on. I changed my directory structure etc. It was a massive overall. Needless to say that meant all the links I had in search engines didn't go to the right place anymore. I didn't just update an old install I did a fresh install of zen cart ver 1.3.9.

    But I noticed that even after months of submitting sitemaps and making sure robots.txt was correct. Search engines were not showing any links what so ever to my website. For some reason I decided to do View Source on one of my product pages and was astonished to see a
    meta tag Robots NOINDEX NOFOLLOW.

    Which meant even though the search engines were visiting my site that page was not being indexed. SO I checked a few more products and the same thing was on every page.

    SO it had to be global. After checking several files I found the culprit

    /includes/templates/desertnoon/common/html_header.php

    That line was in there. As soon as I deleted it. Poof all my pages no longer had the meta tag for robots on it. So I checked my original files and the line is in my orginal files for ver 1 of desert noon. And I downloaded the newest version and the line is slightly different in the new version, but appears it will do the same thing.

    Is this intentional on your part or is it possible something is wrong with my install that is misinterpreting that command line. Because it seems to me that the command line you have in that file is to only tell the robots not to index certain pages like order total etc.
    PHP Code:
    <?php if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance') { ?>
    <meta name="robots" content="noindex, nofollow" />
    <?php ?>
    This is the default for ZC and will not index any page in this list:

    Code:
    define('ROBOTS_PAGES_TO_SKIP','login,logoff,create_account,account,account_edit,account_history,account_history_info,account_newsletters,account_notifications,account_password,address_book,advanced_search,advanced_search_result,checkout_success,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,cookie_usage,create_account_success,contact_us,download,download_timeout,customers_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe,info_shopping_cart,popup_image,popup_image_additional,product_reviews_write,ssl_check');

 

 

Similar Threads

  1. BecaBerry Template [Support Thread]
    By brandonturpin in forum Addon Templates
    Replies: 35
    Last Post: 14 Jun 2015, 09:35 AM
  2. Scuro Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 11
    Last Post: 12 Mar 2015, 09:45 PM
  3. Wallet Template - Support Thread
    By zami in forum Addon Templates
    Replies: 45
    Last Post: 25 Mar 2010, 10:15 PM
  4. Replies: 6
    Last Post: 12 Sep 2009, 09:49 AM
  5. help with custom template desert noon
    By meesh in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Feb 2009, 12:00 AM

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