hobbynet Posted January 30, 2010 Share Posted January 30, 2010 Hi, I've downloaded and testing now the fuctionality for this great contribution. Right now I don't call the function within the header_tags.php, in stead I call it within each page I need. After my test I would implement it as you suggest. Now I saw the possibility to enhance the remove-parm-array and I added the manufacturers_id. Right now in each page I'm using the function "CanonicalLink" the parm manufacturers_id will be removed in the generated tag <link rel="canonical". This should be the solution for product_info.php but not for the index.php if I select by the manufacturer-drop down. generated canonical tag in (manufacturer-id selected = 62 (in my case Kokam): index.php = http://www.hobbynet.ch/shop/index.php? in stead of http://www.hobbynet.ch/shop/index.php?manufacturers_id=62 product_info.php = <link rel="canonical" href="http://www.hobbynet.ch/shop/product_info.php?products_id=1410" /> this is ok to prevent duplicates e.g. <link rel="canonical" href="http://www.hobbynet.ch/shop/product_info.php?manufacturers_id=62&products_id=1410" /> links to the same page due to the products_id=1410 question: Is it possible to enhance the array with the page name as a key? In that way it is possible to set the removed parm for each page seperatly. The lookup code must then be enhanced to search within the array with the current page. Im looking forward to read some lines about. kind regards peter Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.