How to use rel=alternate and hreflang=es to help with International SEO?
-
We have completed translating our important pages from English to Spanish on our website. I am confused if I should be adding attributes like rel=alternate and hreflang=es to links. On our homepage we have links to our solution pages and the code looks like this:
<a href="https://www.membroz.com/es/club-management-software/">...</a >
<a href="https://www.membroz.com/es/salon-management-software/">...</a >
<a href="https://www.membroz.com/es/pre-school-management-software/">...</a >
Should I add the attributes rel & hreflang to them? It would look something like this:
<a <span>rel="alternate" hreflang="es"</a <span> href="https://www.membroz.com/es/salon-management-software/">...
<a <span>rel="alternate" hreflang="es"</a <span> href="https://www.membroz.com/es/pre-school-management-software/">...
-
If you have any doubts I I agree with what Martijn has said.
Also, you can validate that there in the header using this
- For more up to date references (if needed)
- https://moz.com/learn/seo/hreflang-tag
- https://ahrefs.com/blog/hreflang-tags/
- tools https://www.aleydasolis.com/english/international-seo-tools/hreflang-tags-generator/
Hope this is been of some help,
Tom
-
You don't have to do both, I would focus on making sure you have the LINK tags in the top of your HEAD so you can make sure that right away Google picks up on these signals. You can read more about that here: https://support.google.com/webmasters/answer/189077?hl=en you don't necessarily have to specify it per link in your actual content.
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
-
Who is correct - please help!
I have a website with a lot of product pages - often thousands of pages. As each of these pages is for a specific lease car they are often only fractionally different from other pages. The urls are too long, the H1 is often too long and the Title is often too long for "SEO best practice". And they do create duplication issues according to MOZ. Some people tell me to change them to noindex/nofollow whilst others tell me to leave them as they are as best not to hide from google crawler. Any advice will be gratefully received. Thanks for listening.
Technical SEO | | jlhitch0 -
Hreflang for over 200 countries
Hi all, Working on implementing hreflangs on a site, but the client has presence in over 200 countries. Does it mean we have to implement over 200 Hrelfangs? Thanks, Asad
Technical SEO | | TTLO0 -
Help optimising this site
Hi I have been optimising this site http://seakayakdevon.co.uk/ which is a wordpress site since making changes to it recently the site is now indexed and appearing among its competitors. trouble is they still are placed higher rn the SE rankings. i wish to optimise for local search i.e on Google places etc. but the trouble is there is'nt a physical address for the business it is run from various coastal locations. any ideas how i can still market for local search- maps etc. I have done the following optimisation: sitemaps title tag, description tag improved content removed duplicate content an blocker pages replace image text and replaced with header tag improved page names - making them static any advice of guidance would be greatly appreciated- will the fatc its built in wordpress limit its ability to gain better ranking in the SE? Thanks
Technical SEO | | Bristolweb0 -
Which Wordpress Framework for Best SEO
Which wordpress framework would you use for SEO. From what I have had a look at: Thesis is good but you cannot use other SEO plugins with it such as yoast SEO as it is not compatible Genesis or woo framework are good and a plugin like yoast SEO works well with them. What are your thoughts?
Technical SEO | | VivaArturo1 -
Internal linking with Old Content
Hello, I have a sports website in which users write their opinions about the sporting events that take place every day throughout the year. Each of these sporting events generates a new page or URL indicating the match with date. For example: www.domain.com/baseball/boston-v-yankees-04-24-2012-1234.html The teams face several times a year, and each match creates a different URL or page. I would like to link old pages to new pages and vice versa. How would you recommend these pages to be linked? Linking them to each other or linking old pages to new pages that are generated or otherwise? I would appreciate your orientation and help in this case. Thank you.
Technical SEO | | NorbertoMM1 -
Rel=canonical + no index
We have been doing an a/b test of our hp and although we placed a rel=canonical tag on the testing page it is still being indexed. In fact at one point google even had it showing as a sitelink . We have this problem through out our website. My question is: What is the best practice for duplicate pages? 1. put only a rel= canonical pointing to the "wanted original page" 2. put a rel= canonical (pointing to the wanted original page) and a no index on the duplicate version Has anyone seen any detrimental effect doing # 2? Thanks
Technical SEO | | Morris770 -
SEO Developers
I have a team of inexperienced SEO developers and the argument we continually have is that its a marketing role - however most of it is technical, no view state, no js, page load time, csssprite, metatags, frequency of updates to server, duplicate content via coding methodology, lioading content prior to ads, not spidering ads (IT says impossible yet google says required) etc. I looked at your referrals for developers and couldnt find any that recognized SEO as part of their skill set - do you believe tehre aer developers that specialize in this? Thanks, Michelle
Technical SEO | | Silly8880 -
Javascript bad for SEO?
If we utilize javascript to pull information from a database to display on a site, is that bad for SEO? Can search engines still see the data?
Technical SEO | | nicole.healthline0