JavaScript IP-based redirection, best approach?
-
Hi everyone,
What are the best practices for implementing Javascript redirections like on http://www.nike.com/ to send visitors to the right country section? I see it uses cookies and sessions to store the country and language, but what about search engines? Are they redirected via JS? Are there any risks that Google can't crawl everything?
We had IP-based, server-side redirections on a few country-specific websites (purehazelwood.com, purnoisetier.fr, purnoisetier.com) that we had to remove because googlebot was always redirected to the US site and couldn't access the other sites. We instead added pop-ups if the visitor is accessing the "wrong" site but we'd like the redirection to be automatic.
Is the javascript approach the best? Anything else we need to think about?
Thanks for your time!
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
-
301 redirection problem - Major lose of ranking in Google Search results
301 redirection problem - Major lose of ranking in Google Search results
International SEO | | AviramAdar
(site was almost completely removed from google search results) Hello,
I had a website ('DayUse' style) with the following url:
https://www.roomsindex.co.il/ Couple of days ago, I've made a 301 redirection to:
https://www.hour.co.il/ The redirection was made on 2 levels:
1. Server side- on htaccess file.
2. Google Search Console - Change of address page. Bare in mind the following things: The site's structure (url addresses) & the code hasn't changed (for sure). Both redirections are 100% valid (for sure). All the website pages were indexed (for sure). There isn't a penalty on any of the above domains (for sure). The website was almost completely removed from Google search results. For example: Before the redirection the website was ranked 10 in my main keyword "Rooms by hour" (translation from Hebrew), now the website removed. Also, the website removed from almost all the search terms it was ranked before. My question is, off course, WHY???
By the details on the following page, a proper 301 redirection shouldn't cause to such page ranking loss (As I mentioned- It almost completely disappeared)... https://support.google.com/webmasters/answer/6033049?utm_source=wnc_807001&utm_medium=gamma&utm_campaign=wnc_807001&utm_content=msg_914100&hl=en-IL search-console-change-of-address.png0 -
What's the Best Strategy for Multiregional Targeting for Single Language?
I have a service based client who is based in the US but wants to expand to audiences in Australia, Canada, and the United Kingdom. Currently, all the content is in American English with international targeting in Google Search Console set to the US. I know that is going to have to change, but I'm unsure of the best strategy. Right now there are a few basic strategies in my head. Remove International Targeting in GSC and let her rip Remove International Targeting in GSC, install copies of the site on subfolders /au/, /ca/, and /uk/, add hreflang tags, and add canonicals pointing back to original Remove International Targeting in GSC, install copies of the site on subfolders /au/, /ca/, and /uk/, add hreflang tags, and risk duplicate content Have independent writers overcharge for English translations into different dialects and add hreflang tags It's hard to come up with a perfect solution for content differentiation by region in order to implement hreflang tags with a region (en-au, en-ca, en-gb). Remove International Targeting in GSC and let her rip This one is pretty simple. However, I am completely unsure of its effectiveness. Remove International Targeting in GSC, install copies of the site on subfolders /au/, /ca/, and /uk/, add hreflang tags, and add canonicals pointing back to original The point of adding canonicals is to avoid the duplicate content, but then my new subfolders do not get indexed. I'm unsure of what type of exposure these URLs would receive or how they would be valuable. Remove International Targeting in GSC, install copies of the site on subfolders /au/, /ca/, and /uk/, add hreflang tags, and risk duplicate content High risk of a penalty with duplicate content, but my targeting will be the most efficient. Have independent writers overcharge for English translations into different dialects and add hreflang tags This is probably the safest bet, takes the longest, and costs the most money. However, how different will the content actually be if I change truck to lorry, trunk to boot, and optimization to optimisation? Maybe I'm missing something, but this conundrum seems extremely difficult. Weighing the cost, time, and possible result is challenging. Hit me with your best answer and thanks for taking a look at someone else's problem.
International SEO | | ccox12 -
Is using JavaScript to render translations safe for International SEO?
Hello World! Background: I am evaluating a tool/service that a company wants to use for managing the translated versions of their international/multi-lingual websites: https://www.transifex.com/product/transifexlive/ Transifex is asking webmaster to "simply add a snippet of JavaScript" to their website(s); the approved translations are added by the business in the back-end; and the translated sites are made live with the click of a button (on/to the proper ccTLD, sub-domain, or sub-directory, which is specified). CONCERN: Even though I know Google reads JavaScript for crawling and ranking,
International SEO | | SixSpokeMedia64
I am concerned because I see the "English text" when I view the source-code on the "German site", and I wonder if this is really acceptable? QUESTION: Is a service like this (such as Transifex using JavaScript to render translations client-side) safe for indexing and ranking for my clients' international search engine visibility, especially via Google? Thank you!0 -
Best local business directories for a digital agency based in London
Does anyone know the best local business directories for SEO purposes. Our business is a digital agency based in London (United Kingdom) Thanks Rob
International SEO | | roberthseo0 -
International (foreign language) URL's best practices
I'm curious if there is a benefit or best practice with regards to using the localized language on international sites (with specific ccTLDs). For example, should my french site (site.fr) use the french language as keywords within the URLs or should they be in english? e.g. www.site.fr/nourriture vs. www.site.fr/food Is that considered best practice for SEO (or just for brand perception those markets?). Is there a tangible loss in SEO if we do not use the correct language for those URLs and just stick with English around the world? I recall seeing a Matt Cutts video on the topic and he said that google does support i18n URL's but other SE's might not support them as gracefully but he didn't come down with a hard recommendation to go with i18n URL's or just English. Would love a strong ruling in favor one direction based on best practices.
International SEO | | mongillo0 -
Targeting France Best SEO practices
I've got a client with a large e-commerce site with a .com domain and they want to start targeting France. Other than building another site in Frence with a .fr domain, what would be the best course of action? I know that the obvious option would be to build a separate French site with a .fr domain but is there another more cost effective way? I tried doing a search for one of their key-phrases using the Google Global app (Google.fr) and they are ranking in pretty much the same position as for Google.co.uk. Your thoughts on this would be greatly appreciated.
International SEO | | FishEyeSEO0 -
Does IP filtering have a negative impact on SEO?
If a large site has multiple regions (Australia, USA, UK, France), how will IP filtering to a particular area affect SEO. e.g: Ilive in the UK an if I visit the said website I would automatically be redirected to the UK subfolder of the site whereas somebody searching in Australia would be redirected to the AUS folder. Will there be any detrimental affect on SEO and will the search engines still be able to crawl the entire site no matter which data centre is being used?
International SEO | | White.net0 -
What's the best strategy for checking international rankings?
Hi There- I am looking to optimize sites serving the UK and Austrailia markets. I feel like I have a good handle on how to go about doing that, but what I am fuzzy on is, what's the best way to monitor the SERPs for the keywords I am targeting. I know based on experience that if I just search google.com.au from here in the states, my results will be 'americanized' and may/probably won't accurately reflect what someone would see if they were search from Austrailia. Are there any good tools or tactics for seeing what searchers in the countries I am focusing on woudl see? Thanks! Jason
International SEO | | phantom0