Getting the most out of Zen Cart
So in part one of nofollow your way to more pages in Google I, hopefully, explained how you can use the nofollow tag in your internal links to get Google to pay more attention to the more important zen cart page, like the category and product pages.
In part 2 I’ll show you how to add the nofollow tag to certain links on your site.
First of all you will need to have to knowledge of editing PHP files. If you have Dreamweaver then great otherwise try some free software like Kompozer or something even more basic like notepad++
As with all the alterations I talk about you will need to backup your files and database. Adding nofollow to links on your site doesn’t require a database change, but back it up anyway purely because it’s good practice.
The first thing you might want to do is download Firefox. The reason for this is because there are some great plugins to help with your site, in particular SEO Book’s SEO for Firefox. This plug does lots of things, which I may review in another post, but the feature we are interested in is the nofollow highlighter. Here is a screenshot of one of my sites with SEO for firefox switched on.
You can see all the links that I’ve put the nofollow tag on (click thumbnail <–).
You can make your own mind up about which pages you should add the tag to but I’ve basically put it on all pages that don’t have products on them, with the exception of the specials, new products, featured and best sellers. I’m experimenting with these pages to see the effect, so you don’t have to include them if you don’t want to.
So lets start with the important links section, which is the ezpages sidebox on the standard zen cart.
Open includes\templates\<your template folder>\sideboxes\tpl_ezpages.php
Around line 25 you should have this:
$content .= ‘<li><a href=”‘ . $var_linksList[$i]['link'] . ‘”>’ . $var_linksList[$i]['name'] . ‘</a></li>’ . “\n” ;
Change that to:
$content .= ‘<li><a href=”‘ . $var_linksList[$i]['link'] . ‘” rel=”nofollow”>’ . $var_linksList[$i]['name'] . ‘</a></li>’ . “\n” ;
Save that and upload. Refresh the page in Firefox and all the links you have in your ezpages sidebox should be in red.
Next we’ll do the information box. With this one we don’t want to add the tag to sitemap, as this is important tosearch engines. Open includes\modules\sideboxes\information.php
You’ll see many line like this:
$information[] = ‘<a href=”‘ . zen_href_link(FILENAME_********) . ‘”>’ . BOX_INFORMATION_SHIPPING . ‘</a>’;
Where you see
. ‘”>’ .
Change to:
. ‘” rel=”nofollow”>’ .
Do this for each one of the $information[] = lines except the one that links to the sitemap (zen_href_link(FILENAME_SITE_MAP)).
You can see my information.php file here which can be used on zen cart 1.3.7 or 1.3.8
There are other places like:
Advanced search link, lines 19 and 22 in tpl_search.php
Log in links in header, lines 55 in tpl_header.php
If there are others you wish to add the tag to but don’t know where to find the code let me know and I’ll have a look for you.
So that’s is. Over the coming weeks and months you should hopefully see more pages appearing in the search engines. Take a note of how many page you have in Google now by going to Google and enter site:www.yoursite.com in the search box and take a note of the number of results.
Leave a message if you get stuck. Good luck and I hope it helps. Let me know if if does

The reason I started this blog was because I've spoken to so many people who have setup on line, but are struggling for sales or people who want to get online, but don't know how to. Selling online is very difficult. It's competitive, pretty much no matter what you sell and it can be expensive to setup (and advertise). You can be selling the best products on the web, but it's pointless unless you get the visitors and they can use your site when they finally get there
Leave a reply