Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Promotions List Page Meta Noindex Fix Rate Topic   - - - - -

 
  • StellarBytes
  • Senior Member
  • Members
  • Join Date: 08-Aug 11
  • 1807 posts

Posted 21 February 2013 - 10:13 PM #1

In V3 of CS-Cart, the promotions.list dispatch has a meta noindex tag automatically generated when the SEO add-on is installed and active.

As you know, the promotions.list page displays all Promotions titles and descriptions which have been created in CS-Cart.

There is no logical reason for doing so as the Promotion Description is only ever displayed on this page. Only the Promotion Title is displayed in the Cart and Checkout, both of which, rightfully, are noindex, therefore the promotions.list page is content-rich if you use any type of Promotions - Cart or Catalog - and you're currently wasting a perfectly good marketing landing page for no reason.

To resolve this issue and allow search engines to index your promotions list page:

Open:
/addons/seo/func.php

Find:
$indexed_dispatches = array(
  'index.index' => array(),
  'sitemap.view' => array(),
  'products.view' => array('index' => array('product_id')),
  'categories.catalog' => array(),
  'categories.view' => array(
   'index' => array('category_id'),
   'noindex' => array('features_hash')
  ),
  'pages.view' => array('index' => array('page_id')),
  'companies.view' => array('index' => array('company_id')),
  'product_features.view' => array(
   'index' => array('variant_id'),
   'noindex' => array('features_hash'),
  ),
);

Replace with:
$indexed_dispatches = array(
  'index.index' => array(),
  'sitemap.view' => array(),
  'products.view' => array('index' => array('product_id')),
  'categories.catalog' => array(),
  'categories.view' => array(
   'index' => array('category_id'),
   'noindex' => array('features_hash')
  ),
  'pages.view' => array('index' => array('page_id')),
  'companies.view' => array('index' => array('company_id')),
  'product_features.view' => array(
   'index' => array('variant_id'),
   'noindex' => array('features_hash'),
  ),
  'promotions.list' => array(),
);
Save the changes to your server. Clear your admin cache by appending ?cc to your admin URL like so:
http://yourstore.com/youradmin.php?cc
Done. Now you can also use the Promotions page efficiently for marketing purposes.
Hire StellarBytes for CS-Cart Design & Development Services

 
  • miracles
  • Senior Member
  • Members
  • Join Date: 19-Sep 07
  • 1533 posts

Posted 22 February 2013 - 05:17 AM #2

So is this required even I have SEO add-on is enabled ?
CS-CART 3.0.6 GRENADE

Please vote for CDN Add-on

For SEO Article Submission, Forum Profile Links, Web 2.0 links, contact me through PM.

 
  • StellarBytes
  • Senior Member
  • Members
  • Join Date: 08-Aug 11
  • 1807 posts

Posted 22 February 2013 - 01:18 PM #3

If you have the SEO add-on enabled, then yes. The SEO addon is responsible for adding 'noindex' meta tags to various pages including the cart, checkout, etc.
Hire StellarBytes for CS-Cart Design & Development Services