Is it good practice to use hreflang on pages that have canonicals?
-
I have a page in English that has both English & Spanish translations on it. It is pulled in from a page generated on another site and I am not able to adjust the CSS to display only one language.
Until I can fix this, I have made the English page the canonical for both. Do I still want to use hreflang for English & Spanish pages?
What if I do not have a Spanish page at all. I assume (from what I've read) I should not have an hreflang on the English page. Is this correct?
Thank you in advance.
-
For a proper hreflang implementation, the canonical of each page has to point to itself in addition to referencing the other pages that have the same content in a different language. Otherwise, the implementation would be wrong
-
Just to confirm: I need to remove hreflang on site pages that have a canonical to another page (and/or other website)? Thanks for taking time to answer.
-
For hreflang to be implemented properly, both English and Spanish pages have to reference each other AND each page's canonical has to point to itself.
Having one of the pages point its canonical somewhere else will break the implementation.
-
Only for the pages (English & Spanish) on my site.
-
So if I understand this properly, you have a page on your site and has its canonical pointing to a page on another site and you want to create hreflang for both pages? Or only for the page on your website?
-
I understand. I was asking about the situation where the canonical points to a page not on my website.
-
To answer your last question, yes - you don't need to implement hreflang if you only have an English page.
However, if you have an English and a Spanish page for the same content, then you'll need to implement hreflang on both and have the canonical of each page point to itself. This is an important element of the hreflang implementation and where we see a lot of implementation errors. Having the canonical for both pages point to the English version is wrong.
You can read more about hreflang in MOZ's documentation here.
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
-
Quick Fix to "Duplicate page without canonical tag"?
When we pull up Google Search Console, in the Index Coverage section, under the category of Excluded, there is a sub-category called ‘Duplicate page without canonical tag’. The majority of the 665 pages in that section are from a test environment. If we were to include in the robots.txt file, a wildcard to cover every URL that started with the particular root URL ("www.domain.com/host/"), could we eliminate the majority of these errors? That solution is not one of the 5 or 6 recommended solutions that the Google Search Console Help section text suggests. It seems like a simple effective solution. Are we missing something?
Technical SEO | | CREW-MARKETING1 -
What's best practice for cart pages?
i don't mean e-commerce site in general, but the actual cart page itself. What's best practice for the links that customers click to add products to the cart, and the cart page itself? Also, I use vanity URLs for my cart links which redirect to the actual cart page with the parameters applied. Should I use use 301 or 302 redirects for the links? Do I make the cart page's canonical tag point back to the store home page so that I'm not accruing link juice to a page that customers don't actually want to land on from search? I'm kinda surprised at the dearth of information out there on this, or maybe I'm not looking in the right places?
Technical SEO | | VM-Oz0 -
Create Page Titles from H1 using Yoast?
I'm working on a site that has 280 blog posts that have either been migrated from an old CMS site or created on the Dev version of the new WordPress site. We've written 280 unique meta descriptions so they don't truncate but it there a quick way I can export the current H1s and then import them into Yoast so they are set as the Page Titles? I've written unique Page Titles and meta descriptions for all the Service and Products page and just want a way to speed up the blog posts as their H1s are really good and what I would use as Page Titles anyway. Any help, greatly appreciated!
Technical SEO | | Marketing_Today0 -
Is it appropriate to use canonical for a yearly post with similar content?
I've begun writing an annual review of local business directories. Post from 2012 is here: http://web.servicecrowd.com.au/blog/top-10-australian-business-directories-in-2012/ New 2014 post is here: http://web.servicecrowd.com.au/blog/top-10-australian-business-directories-2014/ Is this appropriate use? Next year the post will be similar, but different metrics reported and slightly different review. Side note: For some reason the post hasn't been indexed by Google yet. Usually new posts are indexed as soon as they are shared on social media.
Technical SEO | | ServiceCrowd_AU0 -
Google showing https:// page in search results but directing to http:// page
We're a bit confused as to why Google shows a secure page https:// URL in the results for some of our pages. This includes our homepage. But when you click through it isn't taking you to the https:// page, just the normal unsecured page. This isn't happening for all of our results, most of our deeper content results are not showing as https://. I thought this might have something to do with Google conducting searches behind secure pages now, but this problem doesn't seem to affect other sites and our competitors. Any ideas as to why this is happening and how we get around it?
Technical SEO | | amiraicaew0 -
Is it good to have a few outbound links to good authority sites?
my site has less than 3 OBLs. (do follow) is it a good idea to give a couple do follow links to authoritative sites for domain authority purposes? thanks guys!
Technical SEO | | tm46150 -
Off-page SEO and on-page SEO improvements
I would like to know what off-page SEO and on-page SEO improvements can be made to one of our client websites http://www.nd-center.com Best regards,
Technical SEO | | fkdpl2420 -
301 redirecting some pages directly, and the rest to a single page
I've read through the Redirect guide here already but can't get this down in my .htaccess I want to redirect some pages specifically (/contactinfo.html to the new /contact.php) And I want all other pages (not all have equivalent pages on the new site) to redirect to my new (index.php) homepage. How can I set it up so that some specific pages redirect directly, and all others go to one page? I already have the specific oldpage.html -> newpage.php redirects in place, just need to figure out the broad one for everything else.
Technical SEO | | RyanWhitney150