No Follow
Submitted by JasonG on Thu, 2011-10-20 10:43.Price Tapestry
Hi David
We have been looking at putting a no follow on the /category/ page due to the way we are mapping and importing so many feeds and products, over time all will be mapped but the /category/ coudl look a bit messy and we also have the categories we wnat on the home page so not really a need for this page
Jason had a concern that if we added a "No Follow" then it might then stop google indexing everything under that directory, as all of the main categories are dynamically created under that folder.
Would you agree and any work around please?
Regards
Stuart
Hi Stuart,
I'm not sure how a search engine would handle coming across the same link; one nofollow and the other not so I think i'd recommend not adding rel="nofollow" to the category A-Z links to be honest.
An alternative however would be to construct the Category A-Z page from the categories (Category Mapping) table rather than a query on the products table. That would make /category/ only link to categories that you have set-up in Category Mapping (note that you don't have to have included any alternates). To give this a go, look for the following code at line 6 of categories.php
$sql = "SELECT DISTINCT(category) as category FROM `".$config_databaseTablePrefix."products` ORDER BY category";...and REPLACE with:
$sql = "SELECT name as category FROM `".$config_databaseTablePrefix."categories` ORDER BY category";Cheers,
David.
--
PriceTapestry.com