Localizing URLs Path - Hreflang
-
Hello,
This is a simple question regarding how URLs should be managed for proper results with the hreflang tags.
Right now, we have a website in English and German. The hreflang tag is working properly. This is how we currently have it:
But we will soon change the way we localize our web, moving out of the sub-domain structure. There is this possibility of localizing the URLs path, but I was wondering if the hreflang tag would work in such case.
The new structure would look something like:
So my question is: If we localize the keyword in the path of the URL, will the tag still work? Or do they need to be in the same language than the English version.
Thanks!
-
Hreflang markup specifies which pages belong in a cluster. In the section of your HTML, you use tags to specify which URLs belong in the same cluster. The same set of tags should be on each page in the cluster. If your pages are passing the Hreflang validation then you already have this markup on your page.
-
Yes, hreflang will work in the new structure that you included.
The point of Hreflang is to indicate that two (or more) URLs are part of the same cluster i.e., they have the same content but in different language. There is no requirement around what the URLs should be. They don't need to match or be similar in any way. They can be one the same subdomain or different, same root domain or different, same folder or different...doesn't really matter.
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
-
Google not detecting Hreflang
Hey everybody, We recently migrated our .co.uk to .com/en. Google for some reason is saying that the .com/en version has no hfrelang tags - even though they are clearly there and have had the same implementation as other language versions of the website. We also did a previous migration 6 months ago for the german version of our website and no hreflang problems there. We add our hreflang tags to our sitemap - which you can find here:
Technical SEO | | mooj
https://camaloon.com/en/web-sitemap.xml Any help or suggestions would be greatly appreciated!! Thanks 🙏0 -
How do I deindex url parameters
Google indexed a bunch of our URL parameters. I'm worried about duplicate content. I used the URL parameter tool in webmaster to set it so future parameters don't get indexed. What can I do to remove the ones that have already been indexed? For example, Site.com/products and site.com/products?campaign=email have both been indexed as separate pages even though they are the same page. If I use a no index I'm worried about de indexing the product page. What can I do to just deindexed the URL parameter version? Thank you!
Technical SEO | | BT20090 -
Add selective URLs to an XML Sitemap
Hi! Our website has a very large no of pages. I am looking to create an XML Sitemap that contains only the most important pages (category pages etc). However, on crawling the website in a tool like Xenu (the others have a 500 page limit), I am unable to control which pages get added to the XML Sitemap, and which ones get excluded. Essentially, I only want pages that are upto 4 clicks away from my homepage to show up in the XML Sitemap. How should I create an XML sitemap, and at the same time control which pages of my site I add to it (category pages), and which ones I remove (product pages etc). Thanks in advance! Apurv
Technical SEO | | AB_Newbie0 -
How do I use only one URL
my site can be reach by both www.site.com and site.com. How do I make it only use www?
Technical SEO | | Weblion0 -
Google News URL Format
Hi, We are currently redesigning our gaming website (www.totallygn.com) and one of our main goals is to get listed by Google News in future. Looking at the Google News URL requirements "The URL for each article must contain a unique number consisting of at least three digits." How does the above affect SEO structure? I was planning on using a format such as www.totallygn.com/xbox-360/360-reviews/fifa-12-review how would this compare to something like? www.totallygn.com/xbox-360/360-reviews/fifa-12-review234 Thanks in advance for your help
Technical SEO | | WalesDragon0 -
Singular vs plural in urls
In keyword research for an ecommerce site, I've found that widget, singular gets a lot more searches than widgets, plural AND is much less competitive. Is it better for SEO purposes to have the URLs (and matching title tags) in the catalog as /brass-widget.html, /steel-widget.html, etc., or /brass-widgets.html, etc.? I'm worried that a) searches for widgets will pass by the singular urls but not vice versa, and b) the singular form will strike visitors as bad grammar. Any advice?
Technical SEO | | AmericanOutlets0 -
Call tracking and Local SEO
I am the in house SEO/Web for a multi-branch/multi-state company and I am having a hard time tracking the amount of calls that are coming off of our site to the many branches. I am wondering if there are any tips for use call tracking numbers without negatively impacting my local SEO results? In one of the webinars they touched on image replacement and also that it some situations it might be out to just use the tracking numbers.
Technical SEO | | mmaes0 -
Local SEO Optimization
hi, Looks for advices,tips, links ressource to improve local seo optimisation in google places for domain "google. fr" as website business is in France ! Tks a lot in advance..
Technical SEO | | mozllo0