I hate to ask... but is there a solution for category canonical URLS for v 1.4.9? (and it's meaningful for me to rank for categories, not products, alas).
Give a man a fire and you make him warm for a day. Light a man on fire, and you make him warm for the rest of his life.
http://www.awesomedice.com
Hi folks,
Sorry to dredge up an old thread but I couldn't find the clarification elsewhere, so hope you can help.
What's the deal with products in several categories? Someone mentioned that this has been taken care of but I'm curious to learn how/what's been done?
Cheers
James
Sorry to dredge up an old thread but I couldn't find the clarification elsewhere, so hope you can help.
What's the deal with products in several categories? Someone mentioned that this has been taken care of but I'm curious to learn how/what's been done?
Cheers
James
have a look at the source in your browser. it's dealt with by using rel canonicalJamesMio wrote:What's the deal with products in several categories? Someone mentioned that this has been taken care of but I'm curious to learn how/what's been done?
This looks to be pretty good idea, is there any downside know for this on SEO? What I am thinking is that no change in site but for backlinking promote shorter urls. Anythoughts? - sportyhabits.com
This looks to be pretty good idea, is there any downside know for this on SEO? What I am thinking is that no change in site but for backlinking promote shorter urls. Anythoughts? - sportyhabits.com
Hello all, sorry to wake this old thread 
I'm using Opencart 1.5.4.
How to echo the canonical link somewhere inside the product.tpl?
If I checked the header.tpl, I can see that canonical link is easily echoed using this code:
But when I tried to echo $link['href'] in the product.tpl, it echoes nothing.
I need that in the product.tpl for some twitter button matters.
How to get $link['href'] or equal information in product.tpl, without modifying some controller files?
Since the $link['href'] has been already declared in head section, can we just 'copy paste' the value to the body/product section?
Thanks...

I'm using Opencart 1.5.4.
How to echo the canonical link somewhere inside the product.tpl?
If I checked the header.tpl, I can see that canonical link is easily echoed using this code:
Code: Select all
<link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />
I need that in the product.tpl for some twitter button matters.
How to get $link['href'] or equal information in product.tpl, without modifying some controller files?
Since the $link['href'] has been already declared in head section, can we just 'copy paste' the value to the body/product section?
Thanks...
Who is online
Users browsing this forum: No registered users and 82 guests