How to Remove Canonical Link Code in Header
Permalink
Hi there, I'm using the domain mapper add-on on a site to host two domains but have come up against an issue I think is more Concrete5 than Domain Mapper.
I'd like Google to index the second domain but the pages have that canonical link thing that stop the pages from being indexed because Google just thinks that they're duplicates.
Example on the page at 'www.2nddomain.com/subpage' there is code in the header that says :
<link rel="canonical" href="http://www.1stdomain.com/subpage" />
So Google doesn't index any of the '2nddomain.com' pages.
Does anyone know how to remove this canonical business from being output in the header? I've tried for an hour looking through the filesystem and database with no luck.
I'd like Google to index the second domain but the pages have that canonical link thing that stop the pages from being indexed because Google just thinks that they're duplicates.
Example on the page at 'www.2nddomain.com/subpage' there is code in the header that says :
<link rel="canonical" href="http://www.1stdomain.com/subpage" />
So Google doesn't index any of the '2nddomain.com' pages.
Does anyone know how to remove this canonical business from being output in the header? I've tried for an hour looking through the filesystem and database with no luck.
![mkly](/files/avatars/58696.jpg)
The PagePaths table has a field called ppIsCanonical but that does not add the domain. I'm curious if an addon is adding it and isn't getting the right domain(maybe checking SITE_URL). Do you have any seo type addons installed?
Yes, yes that's it. I had 'SEO Manager' installed.
Thank you!
Thank you!