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
-
Best SEO practice for project galley (image gallery) ? I need SEO Professionals advice.
Hi, i Have a website that is powerful and i dont want to hurt it. http://dreamgaragedoor.com/ right now i need a projects gallery page that people goes there to find out the models and products and services images. i have created the page and it would be 6 slider in the page and each slider has at least 10 images inside. first question is having this much images would or wouldnt hurt my webiste. second what ALT should i use for this many pictures in 1 page. for example i think having ALT like below in one page would be bad SEO wise. Sliding-gate-1, Sliding-gate-2, Sliding-gate-3, Sliding-gate-4,... please take a look at the gallery page and let me have your pro ideas. http://dreamgaragedoor.com/galleries/ thanks
Local Website Optimization | | Mishel2980 -
Is there an SEO benefit to using tags in WordPress for my blog posts?
We have locations across the US and are trying to develop content so that we rank well for specific keywords on a local level. For instance, "long tail keyword search in state" or "long tail keyword search near 76244", etc. The goal is to develop those content pages via blogs to rank for those keywords. We are using Yoast and will be optimizing each post using that tool. My questions are: 1. Are there any benefits to adding a long list of tags to each post?
Local Website Optimization | | Smart_Start
2. If yes, do I need to limit the number of tags?
3. Do we need to block the indexing of yoast to those tags and categories for duplicate content issues? Any insight on the best way to optimize these blog posts with the use of tags or other avenues would be greatly appreciated.0 -
What is the effect of CloudFlare CDN on page load speeds, hosting IP location and the ultimate SEO effect?
Will using a CDN like CloudFlare.com confuse search engines in terms of the location (IP address) of where the site is actually physically hosted especially since CloudFlare distributes the site's content all around the globe? I understand it is important that if customers are mostly in a particular city it makes sense to host on an IP address in the same city for better rankings, all things else being equal? I have a number of city-based sites but does it make having multiple hosting plans in multiple cities/ countries (to be close to customers) become suddenly a ridiculous thing with a CDN? In other words should I just reduce it down to having one hosting plan anywhere and just use the CDN to distribute it? I am really struggling with this concept trying to understand if I should consolidate all my hosting plans under one, or if I should get rid of CloudFlare entirely (can it cause latency in come cases) and create even more locally-based hosting plans (like under site5.com who allow many city hosting plans). I really hope you can help me somehow or point me to an expert who can clarify this confusing conundrum. Of course my overall goal is to have:
Local Website Optimization | | uworlds
1. lowest page load times
2. best UX
3. best rankings I do realise that other concepts are more important for rankings (great content, and links etc.) but assuming that is already in place and every other factor is equal, how can I fine tune the hosting to achieve the desirable goals above? Many thanks!
Mark0 -
Recommended blogs and sites about local seo
HI.
Local Website Optimization | | corn2015
Can you please tell me some great blogs/sites to read daily about local seo? I'm really wanting to beef up my knowledge in this area to assist local businesses. Corn1 -
.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 -
What is the best CMS Approach for Multilingual Versions of Site?
We have expanded into France and Brazil and now have a someone in-house that can translate to French and Brazilian Portuguese. I own ".fr" and ".com.br" versions of our domain. We are using Wordpress for our CMS. We are currently publishing about 2 articles a week on English site which we would be translating and publishing through new international sites (when appropriate). We will be changing out photos and videos at times in addition to all the text/copy. So, before I jump deep into this I wanted to reach out for help regarding the best modern approach to this. Should I use some sort of WP Plugin that will let me manage each of these through 1 WP install or is it better to run each separately through multiple WP installs? I want to achieve this while... avoiding any duplicate content penalties. provide easy admin/editor management of publishing content. Any help/advice is greatly appreciated. Thanks!
Local Website Optimization | | the-coopersmith0 -
Local franchise seo strategy. what could be the best practice?
Hello what Could be the best practice of seo and website optimization for a franchise company. Business model: Lets say, a company(company.com) situated in a country having stores in different cities (more than 2 stores in some), provides n number of services depending on store's location. Physical addresses for some stores are available and new stores shall be launched in future. But, the seo and website pages are needed for those locations at the moment as well. If I choose a sub folder, to give each store a URL. This is how it should look like Country level pages company.com, company.com/service1/ _ _ _ company.com/serviceN/ City level pages company.com/city1/, company.com/city1/location1/ , company.com/city1/location2/, company.com/city2/ , company.com/city3/ Q1) In case I make each service page specific to a store location for eg. company.com/city1/service1/, it will create duplicate content issue because content of company.com/city1/service1/ and company.com/service1/ shall be 60% same, except for **meta title,description and contact detail in footer. ** So, the question arises that shall i give canonical to country level main services page i.e company.com/city1/service1/ canonical to company.com/service1/ as it is very hard to make unique content for same services page. Q2) Or Do I need to rework on my complete website design and seo strategy?
Local Website Optimization | | Technians1 -
Feedback on different SEO Tools
Can anyone give me their opinion on these different tools? 1. MOZ vs. AHREF (I'm a happy MOZ subscriber, but I would like feedback) (or any other tool you'd recommend) 2. WhiteSpark vs. BrightLocal (or any other tool you recommend) 3. Optimizely vs. Visual Website Optimizer (or any other tool you recommend) 4. Hootsuite vs. ??? (can't think of another one) (or any other tool you recommend) 5. Weebly vs. Wordpress (to build websites) Lastly, please feel free to recommend any other tools you find are helpful for either SEO, Local SEO, Social management. Thanks.
Local Website Optimization | | mrodriguez14400