I have 2 canonical links. Must get rid of one?
-
On my wordpress blog, i have 2 canonical links for every single post, like this:
One is generated by wordpress theme:
rel='canonical' href='http://site.com/article-title/' />
The other one is generated by AllinOne seo pack:
<link rel="<a class="attribute-value">canonical</a>" content="<a class="attribute-value">http://site.com/article-title/</a>" />
I tried to remove one of them, but if i uncheck from AllinOne, the source code is the same.
Also, on-page analysis from SeoMoz tells me that i need only one canonical link.
I don't have errors in Google Webmater Tools.
What should I do?
-
Remove the template one. Edit your wordpress template and remove the line code you want.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Silly question about noindex and canonical
Hi, This is probably going to sound a bit stupid, but I nevertheless want to check. We have a site that's going to have identical pages (really not my choice) for a sales reason. The two examples would be example.com/profile-name and example.com/location/profile-name Users using the onsite navigation will always end up in the latter example naturally as they have to select a location before viewing content (plus having the location in the url is nice as there are multiple profiles across different locations that have the same name). However, it's easier to sell our services when we can offer just example.com/profile-name to users for their own marketing reasons. I'd like to make the example.com/profile-name noindex follow, and have just the example.com/location/profile-name indexed, but not sure if it would be better to implement canonical tags instead? Can anyone see any potential pitfalls of using either method or does it not really make a difference (which is what I suspect, but I'd rather look stupid than get this wrong)? Thanks!
On-Page Optimization | | LeahHutcheon0 -
Ref = Canonical
Does it make sense to use the Canonical statement on pages on your web site that already have the correct URL. Or, should I ask, "Does it do any harm?"
On-Page Optimization | | JustInsulation0 -
Drop in Internal Links to Root
This morning I noticed in Google Webmaster Tools that my internal links to my root domain (Home Page), dropped from 428,000 to 58,000. It appears that this could be my header or footer links back to the home page that Google is not showing any more. My programmers claim they have not made any changes over the last 30 days. My rankings and traffic are normal. Any cause for concern?
On-Page Optimization | | tdawson090 -
Wordpress category links not working
Hi All of sudden, my category links are not working. Any tips on figuring out what's causing this? Looks like permalink problem with newer wordpress version. I turned off all the plugins see if this cause any problems. Still not being able to find any option. Here's my site http://www.hibebefetaldoppler.com/fetal-doppler-questions-and-answers/ Thanks in advance
On-Page Optimization | | BistosAmerica0 -
Linking within Secondary Site
So we've got a secondary site that has quite a bit of authority & links that used to have all types of info on parasailing. All those pages are gone and homepage is now a salespage (management decision, not mine) Our main site sells a wide range of tours and activities and does have a page for parasailing. The secondary site uses the same template/navigation as our main site (again, not my decision). Do you think that's an effective way to send link juice to our main site? The secondary site has some pretty awesome high authority sites linking to it. I've considered 301'ing the whole site to our main site but it's got a really solid domain name and I'd like to take up 2 SERP listings (main and secondary site) Is there a better way to have double listings but still send a good amount of link juice?
On-Page Optimization | | SoulSurfer80 -
404 link | How to remove the link so it is not found?
My report has listed a few links with 404 errors. They are internal links but are not found. Is there a way to remove that link so it is not found again? Thanks
On-Page Optimization | | SavingSense0 -
Two different keywords - one URL
We're new to SEO, but have two keywords that are really not quite the same, but Google has targeted the same URL for us ... which means that SEO Moz is recommending we optimize the same URL, for opposite keywords (using the on page SEO). For example, the keywords (these aren't our keywords) of say, "beer brewing" and "ways to make beer for small breweries" are both pointing at our home page. The on page SEO is showing that "beer brewing" is a rank of say, a google ranking of 9. However, "ways to ..." is a google ranking of 47. So ... what am I supposed to do now? Do I rewrite the page to have "ways to ..." more prominent? I cannot really have the title and h1's include both ... What do I do now? We have about 3 or 4 of these "pairs". -- Anthony
On-Page Optimization | | apresley0 -
Page Shaping - No Follow Links
It's my understanding that adding a nofollow tag to pages that aren't of significance to users can help with page shaping and directing google to the most important links on my home page. I have 4 links on my home page that I'm considering adding a nofollow tag to: Privacy Policy, Legal Policy, Anti-Trust Policy, and Help-Desk Because these links are in the footer on every page I think they're probably sucking up some useful link juice. It's doubtful that anyone would actually search for our privacy policy or legal policy to find our site. I'd rather the juice to spread to other pages of use. What do you guys recommend?
On-Page Optimization | | inhouseninja0