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
-
Welsh Language Keyword Research
Helping a friend with some keyword research, their business is based in Wales. I am not a Welsh speaker, whats the best way to do Keyword Research?
Local Website Optimization | | GrouchyKids0 -
What Mystery Local SEO Factors Are At Play Here?
Absolutely perplexed on the ranking factors for Google Maps (hence also the 3-pack in normal search results). Are seeing search queries that return 3-pack and organic result like this and wondering why these sites are getting 3-pack preference?Not that sites 2 and 3 are no closer to the test user's location than Site 4. All 4 sites have a street address showing.3-pack result:#1 - Site 1 - No reviews. Same distance as Site 4 to user. #2 - Site 2 - 1 review for 1 star. Farther from user than site 4. #3 - Site 3 - 2 reviews for 5-star average. Farther from user than site 1, 2, and 4.#4 (not show in 3-pack) - Site 4 - 6 reviews with 6 star rating, closer to user than site 2 and 3.Organic results below 3-pack:#1 - Site 4#2 - Site 4#3 - Other site#4 - Site 1Sites 2 and 3 not in top 10 organic non-map resultsSo what would be the most likely ranking factors keeping making site 1-3 rank above site 4 in the 3-pack/map results?If on-page and backlink factors were at play, you'd expect to see sites 1, 2 and 3 higher than site 4, and in the case of site 2 and 3 at least in the top 10 of the organic results. All sites were similar distance to the user.
Local Website Optimization | | SEO18050 -
Using posts to make static pages - A best practice or a bad idea?
I have started working with a few law firms this year. They already have websites and I am doing various marketing tasks such as copywriting, redesigns, and, of course, SEO. In a couple of cases I was surprised to find that they had made the pages describing their various practice areas post content. I'm not sure why. But I suspect that the idea might have been to have the phrase: /practice-areas/ as a part of their URL. I didn't really like the idea of treating pages like posts. It seems a bit like working the system. But apart from that, wouldn't pages have a higher value as "permanent" content? As posts - their publish date has more weight, right? And they'd get old? But maybe the previous developers were on to something and the category/post approach to listing practice areas is the way to go? I am starting a new site for a new firm and I'd like to feel more confident about the right structure to choose for this kind of website before I start. Does anybody know the right answer? Thanks!
Local Website Optimization | | Dandelion1 -
Call Tracking Best Practises for General SEO
Hey folks, So I'm aware of the importance of consistent citations, and the mayhem call tracking numbers have been known to cause in regards to that in that past. So just wanted some up to date clarification on these two things: Local SEO isn't strictly speaking a big deal for us as we supply a software and as such are technically global. I'm presuming consistent citations are still worth aiming for though, and will help increase general authority as well? Let me know if I'm totally wrong about that! What's the best practise set up for call tracking, given that your main NAP number you'd obviously want hardcoded somewhere, alongside showing your dynamic numbers to relevant visitors. Apologies for any ignorance, as always any help and advice is muchos appreciato.
Local Website Optimization | | Zoope1 -
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 -
Ideas on creating location based service pages for SEO value while not worrying about local SEO?
Hello and thanks for reading! We have a bit of a rare issue, where we are a nationwide distributor but have a local side that handles all tristate area requests, the sales that happen via local basically don't impact the online side, so we're trying to not focus on local SEO but in a sense worry about abroad local SEO. We want to try the location based service pages, but not for every state, at most 5 states and inside those pages target 2 to 3 big cities. Is this a waste of time to even think about or is this something that can be done with a careful touch?
Local Website Optimization | | Deacyde0 -
SEO Client not rankings in Google
Hello, I have a client that has continued to be problematic for my team and I. They have fair to middling rankings in Yahoo and Bing, but none in Google. I realize that they are three separate search engines each with their own criteria, but this client is the only one experiencing this problem. There is no significant duplicate content that can find, same with restrictions in the robots.txt file. These seems to be no reason why all my tools say that this client has no presence at all in google, especially when the client gains most of their traffic through Google. Can anyone assist me in finding out what is going wrong? Client website for reference: http://www.volvethosp.com/ Best, BeyondIndigo
Local Website Optimization | | BeyondIndigo0 -
Yoast Local SEO Reviews/Would it work for me?
Hi everyone, I'm looking for some feedback on Yoast Local SEO, and if you think it'd work for our site. www.kempruge.com. Our site is a wordpress site, and there's nothing about it, off the top of my head, that makes me think it wouldn't work, but I've been wrong before. We do use All-In-One SEO, not the Yoast plugin, so I'm not sure if that's compatible.or would cause a problem? (The reason we use All-In-One and not Yoast is because that's what we had when I got here, and I'm worried what would happen if we switched). Also, we have three offices, and I need to be able to do local seo for all three. I know Yoast says it supports multiple offices, but I'd feel more comfortable if someone on here let me know from his/her experience that it did. Anything else you want to add about Yoast Local, I'm all ears! Thanks, Ruben
Local Website Optimization | | KempRugeLawGroup0