Silverstripe-SEO icon indicating copy to clipboard operation
Silverstripe-SEO copied to clipboard

Canonical Link false for DataObjects

Open Gregor-Agnes opened this issue 5 years ago • 1 comments

Hi, I created a dataobject for countries, having a list /countries and a country view /countries/albania Also enabled the extension for the model. I get the additinal tabs in the backend.

Country:
  extensions:
    - CyberDuck\SEO\Model\Extension\SeoExtension

But the canonical meta tag does not change: It is example.tld/countries in either case. It should be example.tld/countries/albania in the country view (just like the address in the address bar of the browser). But it isn't. Did I miss something?

Gregor-Agnes avatar Feb 13 '20 10:02 Gregor-Agnes

Probably missing the last step on https://github.com/Cyber-Duck/Silverstripe-SEO/tree/develop/docs/configuration

christopherdarling avatar Jan 25 '23 14:01 christopherdarling