Is this causing me to drop in rank?
-
@Peter,
I'm not sure what happened, but for some reason the canonical is missing up again. All of the pages are using my home page as the canonical url again. No idea what is happening. Can you tell what's going on?
-
I'm seeing the 2 canonical tags, but unfortunately, there's almost no way to tell from the outside why the top one is being added. It looks like your plug-in is working correctly. This is a WordPress-based site, correct?
-
yelp. When I first found the problem, I figured out the theme and the plug in were both adding a canonical url, so I took out the function in the theme to add the canonical url. Everything was working when you looked at the post the other day and noticed there was only 1 canonical url. But today I was looking at some code, and noticed it was back to 2 on each one.
What do you suggest looking at / check out?
-
Unfortunately, I'm not a WordPress expert by any means. I'll ping the team.
-
No problem. Thanks!

-
Hi there,
Make sure to check any plugins first. Some themes and plugins offer the option to add any code you like to the head - it sounds like there might be a static canonical tag in a field like this. That would be my first thought - let me know if I can be of assistance in fixing this up.
Thanks,
Carson
-
Thanks Carson,
It looks like I may have figured it out. I checked out the header.php file and noticed this: . So I just deleted it, and it seems to be working fine.
-
Oh - yeah - that definitely doesn't look good. Probably a holdover from the template. You could just comment it out, but dumping it completely is fine, I suspect.
Unfortunately, I'm still seeing the canonical in the pages I'm checking (?)
-
Really? Do you mind clearing your cache and trying again? When I look I'm seeing just the one (correct) canonical.
-
Really? Do you mind clearing your cache and trying again? When I look I'm seeing just the one (correct) canonical.
-
I'm still seeing it as well. When you re-visit header.php now, is the line you deleted still gone?
-
Are there any admin settings in your theme itself? You may something built in that's re-adding the tag at a higher level in the code. Could be an admin flag needs to be reset.
-
Nope...
-
Just tried a different browser. Weird thing is that I'm seeing it on some pages, but not on others. For example. it's here still:
-
I cleared my cache and I still see it on posts. I suppose it's worth asking if you have a caching/site speed plugin?
-
If you guys are both seeing it, I'm really confused. When I look at my source code, I see this:
-
Yes, I do. I'm been clearing the cache.
-
What's strange is when I view the source on that page, I don't see it:
-
I see the same as you for that post, but I still see the canoncial on posts like this:
This is why I'm thinking you might have fixed it, and we're just seeing an old static version of the page. Re-caching the pages and/or updating posts might fix it up.
-
@Carson,
This is so odd. When I look at the page, I see this. Am I seeing something different than what you are seeing?