Rel alternate implementing with x default
-
Hi,
I am implementing rel alternate codes on my website but had few doubts with the same.
1. Can I have the same URL www.mysite.com as "x-default" and for "en-us" like below:
2. Will all the URL contain its own referencing code. For example, will the URL www.uk.mysite.com have
code on it or not with the other codes
Looking forward for the help guys!
Many Thanks
| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | -
Thank you Martinjn and Simon
I will go ahead with the same then!
-
In my view there is no issue with you using your default for en-us. It may not be necessary to reference en-us in the code as Google will know that www.mysite.com is your default for English speakers in the US in any case, but there is certainly no harm in leaving that line in there.
As to your second question, I always reference every alternative version of a page in the hreflang including the page itself, so in the example you have included code on the page on the UK site. This is perfectly fine and is how I have always implemented hreflang when dealing with pages that are similar but intended for different countries/languages.
-
Hi Hitesh,
The examples as you presented them are both correct.
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
-
Has Anyone Successfully implemented SpecialAnnouncement Schema?
Hello, I'm in the process of updating my clients' websites with the SpecialAnnouncement Schema type, and I'm wondering if anyone has successfully done so yet, and whether or not they're seeing any kind of results /richsnippets directly in SERPs from it? Also, has anyone else run into issues checking their schema with Google's Structured Data Testing Tool? Sometimes I get an error saying "specialAnnouncement is not a type known to Google," and sometimes I get one saying that "the property datePosted is not recognized by Google for an object of type SpecialAnnouncement." I assume these errors are because the schema type is so new, but you know what happens when you assume... Thank you for any insights!
Local Website Optimization | | LocalSEOLady0 -
Which URL and rel=canonical structure to use for location based product inventory pages?
I am working on an automotive retailer site that displays local car inventory in nearby dealerships based on location. Within the site, a zip code is required to search, and the car inventory is displayed in a typical product list that can be filtered and sorted by the searcher to fit the searchers needs. We would like to structure these product inventory list pages that are based on location to give the best chance at ranking, if not now, further down the road when we have built up more authority to compete with the big dogs in SERP like AutoTrader.com, TrueCar.com, etc. These higher authority sites are able to rank their location based car inventory pages on the first page consistently across all makes and models. For example, searching the term "new nissan rogue" in the Los Angeles, CA area returns a few location based inventory pages on page 1. The sites in the industry that are able to rank their inventory pages will display a relatively clean looking URL with no redirect that still displays the local inventory like this in the SERP:
Local Website Optimization | | tdastru
https://www.autotrader.com/cars-for-sale/New+Cars/Nissan/Rogue
but almost always use a rel=canonical tag within the page to a page with a location parameter attached to the end of the URL like this one:
https://www.autotrader.com/cars-for-sale/New+Cars/Nissan/Rogue/Los+Angeles+CA-90001"/>
I'm having a hard time figuring out why sites like this example have their URLs and pages structured this way. What would be the best practice for structuring the URL and rel=canonical tags to be able to rank for and display location based inventory pages for cars near the searcher?0 -
Hreflang | Should I implement hreflang for regional targeted but - different content of websites?
Hello, I'm implementing hreflang for my e-commerce websites which have different languages and do serve different content based on location. Currently, I'm only using hreflang for for alternate language (fr-fr, fr-be, fr-ma, ...). I wonder if it might be better or if I am allowed to add other version of my websites (IT, ES, DE,... ) even if those version are serving specific content for these specific location. So, the content (products) of Germany is different of the product of the other countries. Here is an example : www.mywebsite.com/apple-phone (selling apple phone for US with product avalaible only in US). www.mywebsite.de/apple-phone (selling apple phone for Germany with product avalaible only in Germany, the available models might be different from US and other websites). www.mywebsite.it/apple-phone (selling apple phone for Italy with product avalaible only in Italy, the available models might be different from US and other websites). www.mywebsite.es/apple-phone (selling apple phone for Spain with product avalaible only in Spain, the available models might be different from US and other websites). www.mywebsite.pt/apple-phone (selling apple phone for Portugal with product avalaible only in Portugal, the available models might be different from US and other websites).
Local Website Optimization | | manoman880 -
What is the SEO effect of schema subtype deprecation? Do I really have to update the subtype if there isn't a suitable alternative?
Could someone please elaborate on the SEO effect of schema subtype deprecation? Does it even matter? The Local business properties section of developers.google.com says to: Define each local business location as a LocalBusiness type. Use the most specific LocalBusiness sub-type possible; for example, Restaurant, DaySpa, HealthClub, and so on. Unfortunately, the ProfessionalService page of schema.org states that ProfessionalService has been deprecated and many of my clients don't fit anywhere else (or if they do it's not a LocalBusiness subtype). I find it inconvenient to have to modify my different clients' JSON-LD from LocalBusiness to ProfessionalService back to LocalBusiness. I'm not saying this happens every day but how does one keep up with it all? I'm really trying to take advantage of the numerous types, attributes, etc., in structured data but I feel the more I implement, the harder it will be to update later (true of many things, of course). I do feel this is important and that a better workflow could be the answer. If you have something that works for you, please let us know. If you think it's not important tell us why not? (Why Google is wrong) I understand there is always a better use of our time, but I'd like to limit the discussion to solving this Google/Schema.org deprecation issue specifically.
Local Website Optimization | | bulletproofsearch0 -
Implementation advice on fighting international duplicate content
Hi All, Let me start by explaining that I am aware of the rel="canonical" and **rel="alternate" hreflang="x" **tags but I need advice on implementation. The situation is that we have 5 sites with similar content. Out of these 5: 2 use the same URL stucture and have no suffix 2 have a different URL structure with a .html suffix 1 has an entirely different URL structure with a .asp suffix The sites are quite big so it will take a lot of work to go through and add rel="alternate" hreflang="x" tags to every single page (as we know the tag should be applied on a page level not site level). 4 out of the 5 sites are managed by us and have the tag implemented so that makes it easier but the 5th is managed in Asia and we fear the amount of manual work required will put them off implementing it. The site is due to launch at the end of the month and we need to sort this issue out before it goes live so that we are not penalised for duplicate content. Is there an easy way to go about this or is the only way a manual addition? Has anyone had a similar experience? Your advice will be greatly appreciated. Many thanks, Emeka.
Local Website Optimization | | OptiBacUK0 -
Multi Location business - Should I 301 redirect duplicate location pages or alternatively No Follow tag them ?
Hello All, I have a eCommerce site and we operate out of mulitple locations. We currently have individual location pages for these locations against each of our many categories. However on the flip slide , this create alot of duplicate content. All of our location pages whether unique or duplicated have a unique title Tag, H1, H2 tag , NAP and they all bring in the City Name . The content on the duplicated content also brings in the City name as well. We have been going through our categories and writing unique content for our most popular locations to help rank on local search. Currently I've been setting up 301 redirects for the locations in the categories with the duplicated content pointing back to the category page. I am wondering whether the increase in number of 301's will do more harm than having many duplicate location pages ?.. I am sure my site is affected by the panda algorithm penalty(on the duplicated content issues) as a couple of years ago , this didn't matter and we ranked top 3 for pretty much for every location but now we are ranking between 8 - 20th depending on keyword. An Alternative I thought, may be to instead of 301 those locations pages with duplicate content, is to put No Follow tags on them instead ?... What do you think ?. It's not economically viable to write unique content for every location on every category and these would not only take years but would cost us far to much money. Our Site is currently approx 10,000 pages Any thoughts on this greatly appreciated ? thanks Pete
Local Website Optimization | | PeteC120 -
How Best to do implement a Branch Locator for a Website with invididual location category pages
Hi All, We have an ecommerce Website with multiple locations for our stores and we currently display separate location specific pages for the different categories and sub categories. This has helped us previously to rank well for local search in each of the areas we have a store but over the last few months since humingbird, our local rankings on some things have dip a little . We want to implement a branch locator of some description to improve the user experience. From looking at other websites with branch locators, they tend to a separate button/page with which you can search for a branch etc. However, they don't have location specific pages. My query is should I do it so if a user comes in on a specific category location page and follows it through to product page , then to have a tab on the product page displaying the local branch from which he can come in. My thinking here is that , is that it would help confirm my local citations and help improve local rankings. Or Should the local branch be displayed on the local category pages instead or as well ?. If a user comes in from the homepage or not on a specific location page, then the branch locator will allow them to search for a specific branch. Should I also put in a branch locator as a separate page or can It be in more places. I don't want to damage anything which may have an effect on rankings due to citations and NAP on the location specific pages. Any advice or good examples to look at would be greatly appreciated thanks Sarah.
Local Website Optimization | | SarahCollins1 -
Recommendations on implementing regional home pages
My site is a directory that serves several regions. Each region has it's own "home page" with specific content for that visitor about their region. Right now we use Google location recognition after you visit the home page to redirect you to your regional home page. I am in the process of reviewing the best way to implement our home page for SEO purposes. Any advice or recommendations on how to present home pages that are location specific would be greatly appreciated. Thank you Steve
Local Website Optimization | | steve_linn0