What are SEO best practices for Java Language Redirections?
-
We would like to get some insight on what is the best practice of setting up canonical URLs in the below scenario.
CMS used: Liferay – we believe they are using java. The URL structure at this stage can not be changed to best practices (/en/ and /ar/). Currently the language redirections works like this:
English: https://www.website.com/page1?AF_language=en
Arabic: https://www.website.com/page1?AF_language=ar
Depending how you entered the website last time the root URL will show English or Arabic content without the ‘sufix’:
All 3 different URL’s are being indexed on Google - which is causing duplication and confusion.
We have a few ideas:
Have 2 main URLS:
https://www.website.com/page1?AF_language=en and have the canonical set to https://www.website.com/page1?AF_language=en
https://www.website.com/page1?AF_language=ar and have canonical set to https://www.website.com/page1?AF_language=ar
However, how would you handle the root page which does not have a specific language attached. If we need to make a choice we would go with Arabic, as mainly Arabic pages are indexed on Google with the root domain. This way we would (hopefully) retain the rankings for this.
Question: did anybody had to deal with a similar situation? What would you do in a similar situation and why?
Thanks for all your input.
-
Quite an old style of architecture, it's a shame it cannot be changed. Just so others understand a bit more, what you refer to as a 'suffix' is actually called parameters. In a URL, anything following "?" is parameters
If the language on the root is dynamic (it changes) then it's very difficult for you to hreflang to it effectively as it will conflict the the parameter URLs (which are language based) AND additionally, you won't know for certain what language to hreflang to. That also makes canonicals to the root quite tricky IMO
I think what you are already doing, is the best of a bad situation. At least the parameter-based URLs set a designated language which you can rely on to be the same
If you look at this official URL from Google: https://support.google.com/webmasters/answer/182192?hl=en
Scroll down until you find the heading "Using locale-specific URLs" and look at the table underneath of that heading
Parameter-based geo-targeting, is actually the only one of of multiple architectures, which Google put in red text and explicitly warn people away from. Since the site you are looking at has crossed that red line, you may need to manage expectations about results. If they're going to pick the worst possible format and stick with it, without asking you as a consultant what is best, they've kind of shot themselves in the foot there
P.S: Regarding 'actual' redirects, not canonicals. For sites that have proper sub-folder structure, usually you redirect users based on their location, but allow them to flag select to 'escape' the redirections (which can sometimes go wrong). You also usually exempt Google's user-agent ('googlebot') from regional redirects, as they can only crawl from one location at once and otherwise they think areas of your site keep going up and down due to all your redirects. But with your structure, I'm not sure I would even touch redirects. It's in enough of a state as it is without rolling those dice
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
-
Company with different branches: Generic Keywords & Localized Keywords: Best practise?
INITIAL SITUATION: We offer a branded product/service in different cities. We have different contact pages for every city (—> basically just a form and a map, i.e. 100% SHALLOW). GOAL:
Local Website Optimization | | Cesare.Marchetti
We would like to rank for the branded keyword only (—> more generic search intent) but as well as for branded keyword + cities (—> more transactional search intent) combinations. REMARK: It would make little sense in my opinion to develop the individual contact pages (for every city) to „full“ pages with real content as there isn’t really specific content for the differenct cities to add. OPTIONS:
1) HOME page: target for the branded keyword CONTACT pages (one for each city): target for the branded keyword + city name HOME page: target for the branded keyword + all the city names CONTACT pages (one for each city): : NO keyword targeting at all HOME page: target for the branded keyword + different city names CONTACT pages (one for each city): target for the branded keyword + city name Add CANONICAL tag to main page ???!!!??? What is best practise? What would you recommend? Is there another solution? I really would like to know your opinion. Thanks a lot for your hints in advance.
Cheers,
CesareBearbeiten0 -
Best Practices: Different Phone Numbers on the Same Website
Since 2006 www.nyc-officespace-leader.com has promoted my commercial real estate brokerage business. I have been the sole broker listed on the site. As a result, the same phone number has appeared consistently throughout the site. Now I will be adding a colleague to the site (in addition to me) and I am struggling with how to best display my colleague's phone number. The 2nd broker will be adding property listings and blog posts. It was agreed that my phone number would be replaced by my colleagues phone number on his listings and blog posts. Pages that existed before would remain with my phone number. The idea being that leads generated by the 2nd broker's new content get directed to him rather than me. My concern is that having a new phone number listed will introduce an inconsistent phone number and harm our local SEO. I have read that it is absolutely critical that NAP (name, address, phone number) must be 100% consistent otherwise it can cause harm search engine ranking. What are best practices for displaying different phone numbers for different personnel on the same website without harming local SEO efforts? This situation is certainly common, so I would think there must be some work arounds. I have seen "Contact" icons that when clicked show phone numbers. Is there any standard solution for this issue that keeps NAP data consistent? Also, what if we keep the same number in the header but use different numbers in other locations? Is the header a location where we should be extra careful to display the same phone number? Thanks,
Local Website Optimization | | Kingalan1
Alan Rosinsky
Metro Manhattan Office Space, Inc. An example of inconsistent listing pages are: -http://www.nyc-officespace-leader.com/listings/386-w-38th-street-office-lease-2370sf
(Broker "#2) -http://www.nyc-officespace-leader.com/listings/329-545-eighth-ave-office-lease-525sf
(myself) An example of inconsistent blog pages are: -http://www.nyc-officespace-leader.com/blog/the-tech-explosion-impact-on-chelsea-2
(Broker "#2) -http://www.nyc-officespace-leader.com/blog/office-space-build-out-cost
(myself)0 -
SEO and Main Navigation Best Practices
I've read a number of articles on SEO and main navigation for websites. I'd like to get a solid answer/recommendation to help solve this one. This is the situation. We're helping a local business that offers pest control and property maintenance services. Under each of these, there area a number of services available, eg, cockroach control, termite inspections or lawn mowing services, rubbish removal and so on. Is it best to have a main nav containing the top keywords for the services - Pest Control | Property Maintenance, with a drop down to the services under each. Or, a simple approach - Our Services > drop down to each - Pest Control > Termite Inspections, etc. My concern here is that they have quite a lot of services, so the nav could be way too long. Really appreciate any assistance here. Many thanks.
Local Website Optimization | | RichardRColeman0 -
Do duplicate street addresses on 2 website affect SEO?
Hi, We have 2 websites built for one client that has 2 companies running from the same physical location. Would having the same address listed on both websites affect their SEO rankings? The 2 websites mentioned are linked below: http://anastasiablinds.ca/ http://www.greenfoxwindows.ca/ Thanks for your help!
Local Website Optimization | | Web3Marketing871 -
Choosing the best domain for international website section
Hi, i made a question before but the answer not clarified me yet: https://moz.com/community/q/which-is-the-best-xx-or-com-xx-in-general-and-for-seo I mark as answered inadvertently. I want to know what you think about choosing ".es" or ".com.es" for create a section for Spain and redirect them from the homepage. Same for Mexico.
Local Website Optimization | | NachoRetta
I think that is not so important for SEO, but i am not completely sure about other factors.
Big marks like Toshiba use:
http://www.toshiba**.es**
http://www.toshiba**.com.mx** and Cocacola:
http://www.cocacola**.es**
http://www.coca-cola**.com.mx** ".es" for spain and ."com.mx" for mexico?0 -
Schema training/resources for local SEO?
I am currently in the process of apply schema for dozens of clients (many are large retailers). Although I am not a developer, I do know the basics of schematic markup & structured data. I do work with a development team and I'm trying to provide them with schema application best practices. Obviously there are many good articles/blog posts out there about schema. However I'm looking for a more substantial training course, webinar or resource website about schema application. Does anybody have any good recommendations?
Local Website Optimization | | RosemaryB0 -
What is the best way for a UK company to source SEO Support to boost SERPS in USA Google?
We are a niche web retailer with a world leading product and as such are probably the best option for USA customers (even though we are based in the UK) up to 18 months ago google agreed and placed us high for USA searches and we had good business as a result however since penguin (or around that time anyways) google increased our SERPS for more local markets (UK and EUROPE) and decreased our ranks for USA with a consequent reduction in our USA sales We want to improve rank again in USA (and Canada and Australia and Russia) but need specialist help What's the best way to source that? (short of someone saying they know exactly how to do that) ant recommendation most gratefully received Tom
Local Website Optimization | | tomnivore0 -
.com vs .com/language ?
Hello Moooooooooz ! We're currently working on a new website http://www.globalmetal.fr/ which deep SEO issues. The problematic is as always in this case: 1 company + different subsidiaries + different markets + different languages The companies is handling different domains: http://www.globalmetal.fr/
Local Website Optimization | | JoomGeek
www.globalmetalbroker.ch
www.globalmetalbroker.com
and so on. Until recently I was totally convinced (there is no magic solution I know) that it was better for a SME to focus on 1 domain (.com) and get the other websites per language .com/fr .com/es etc. But in their case their TLD is pretty new: www.globalmetalbroker.com (DA 1) vs globalmetal.fr (DA 15) So I'm wondering: 1- Does Google know understand that globalmetal.fr is the french website of globalmetalbroker.com (maybe via webmaster tool) ?
2- Does it make senss to move all the (new) language websites into .com/[folders] and once the .com DA is doing better redirecting the .fr to.com/fr ?
3- Is it better to focus on .com .fr (but french speakers are not just in france) .ru and so on or to keep the .com/[languages] Hope someone got the same issue recently 😛0