
Originally Posted by
Kcm75
How can I re-enable the canonical links?
There should be something similar to the following in "includes/templates/your_template_name/common/html_header.php":
Code:
<?php if (isset($canonicalLink) && $canonicalLink != '') { ?>
<link rel="canonical" href="<?php echo $canonicalLink; ?>" />
<?php } ?>
If someone removed (or did not include) these lines in your template, canonical links are not added to pages. Zen Cart comes with a default template you can look at for a working example if needed.
If someone disabled the canonical system, you will want to download Zen Cart from "www.zen-cart.com" and copy "includes/auto_loaders/config.canonical.php" and "includes/init_includes/init_canonical.php" into your Zen Cart installation.
If you are going the canonical route, and do not plan to modify the .htaccess with RewriteRules generating 301s, make sure you add any needed rules from the old URL Rewriter so website visitors can access your pages under either format (the old ones and the new ones).
Bookmarks