I really don't know a huge amount about duplicate links.
I am told that www.example.com/greenshoe and www.example.com/shoes/greenshoe are duplicate pages and need adjusting. I have added the following code into my product 'greenshoe' under the 'Design' and 'Custom Layout Update':
<reference name="head"> <action method="addLinkRel"> <rel>canonical</rel> <href>https://www.example.com/shoes/greenshoe.html</href> </action> </reference> but it doesn't appear to be working. I.e. if I visit www.example.com/greenshoe it's not sending me over to /shoes/greenshoe. Does that make sense? Should it be redirecting the URL and, if so, what am I missing?
I know that 301 redirects are particularly bad for SEO.
Also, as a side note I do have the SEO Canonical turned on in the backend already.
Thanks in advance!