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
-
GeoIP Redirects & hreflang
Hello, We believe we've had some issues with hreflang tags not remaining validated due to the implementation of geoIP redirects. Previously, if a user clicked a landing page on Google search that was not targeted for their territory, they would instantly be redirected to a sub path that targets their territory using geoIP redirects. We're planning to remove the initial geoIP redirects and have messaging that prompts the user to either stay on the page they've landed on, or be redirected to page that is right for their territory. However, if a user has selected to be redirected to a sub path that is targeted for their territory, they will have a cookie preference set for the IP location they've selected, and will continue to be redirected to their chosen sub path. My question is, will a crawler follow and trigger the geo preference cookie, which could potentially cause complexities in validating hreflang tags and ranking of content for the right market. Thanks.
International SEO | | SEONOW1230 -
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 -
301 Redirect
Hi have an older word press site that ranks very well, and I have built a newer Magento site to replace it. I was originally planning on maintaining both of them.. But Im thinking I would like to shut down the older word press site completely. Is it possible to 301 the whole site at once to the new Magento site? And if so what is the quickest, easiest way to do it? The URL and category structure do not match in anyway.. thanks!
International SEO | | Shop-Sq0 -
Best way to enter Canada, SEO-wise?
We are thinking of splitting our e-Commerce site into a Canadian site w/ localized content, a potential French version and for additional relevance w/ localized currency. What would be the best way to go about this if we were wanting to gain traction as soon as possible on the organic side? Split the domain into domain.com and domain.com/ca/ (subfolders) Split the domain into ca.domain.com and domain.com Or split the domain into domain.com & wirelessemporium.ca Also, what are some key best practices we need to keep in mind to avoid duplicate content issues, etc?
International SEO | | eugeneku0 -
How to Best Manage Multiple Domains?
Hi,
International SEO | | thealika
I am new here and this is my first question.
(so please excuse if my etiquette slightly off) I have just taken over the SEO work for a website in South Africa (.co.za) it is for an Attorney of immigration law, and naturally I would love to make it into a star on google. I have about 15 extra keyword domains at my disposal, 5 of them are parked and the rest are not doing anything at the moment. so my question is: what should I do with them to get the best SEO results for their keyword names? I was thinking to make a WordPress Multi Site, un-park the domains and create a separate site for each domain. Create a visually similar front page, but all the links head back over to the main site. Then work on optimising the SEO for each domain. (lengthy work but it's not too hard to rank in google.co.za) what do you think? I also heard that parking domains is a bad Idea, because google sees it as duplicate content; is that so? website:
www.migrationlawyers.co.za Parked domains:
MigrationLawyers.co.za
MigrationLawyer.co.za
MigrationLawyers.de
ImmigrationLaw.co.za
EmigrationLaw.co.za Keyword domains: Migration-Attorney.com
Migration-Lawyers.com
MigrationCounsel.co.za
ApplyForPermanentResidencesSouthAfrica.com
AvoidDeportationSouthAfrica.co.za
AvoidDeportationSouthAfrica.com
RetirementVisaSouthAfrica.com
SouthAfricanCitizenship.co.za
SouthAfricanPermits.co.za
StudyPermitSouthAfrica.co.za Thanks a lot,
Nikita0 -
When is it best to use a ccTLD or TLD?
I understand that the relative importance of domain extensions - .com is better than .biz, etc. - is a bit of a myth. I also believe that using a ccTLD is likely to affect rankings for that site outwith that country. But, is the opposite true? Will giving a site a ccTLD help improve its SEO in that country? If you have a global organisation, is it better to establish a series of country specific sites - ccTLD - or to purchase the country specific domains and point them to the.com (if only to stop cyber-squatting)? What if the company wanted to establish regional microsites that feature content about products only available within that region? Many thanks, Iain
International SEO | | iain0 -
Poor Google.co.uk ranking for a UK based .net, but great Google.com
I run an extremely popular news & community website at http://www.onedirection.net, but we're having a few ranking issues in Google.co.uk. The site gets most of its traffic from the USA which isnt a bad thing - but for our key term "one direction", we currently don't rank at all on Google.co.uk. The site is located on a server based in Manchester, UK, and we used to rank very well earlier this year - fluttering about in position 5-7 most of the time. However earlier this year, around July, we started to fall down to page 2 or 3, and at the start of this month we don't rank at all for "one direction" on Google.co.uk. On Google.com however we're very strong, always on page one. We're definitely indexed on .co.uk, just not for main search term - which I find a bit frustrating. All the content on our site is unique, and we write 2-4 stories every day. We have an active forum too, so a lot of our content is user-generated. We've never had any "unnatural link building" messages in Webmaster Tools, and our link profile looks fine to me. Do we just need more .co.uk links, or are we being penalised for something? (I can't imagine what though). It certainly seems that way though. Another site, "www.onedirection.co.uk" which is never updated and has a blatant ad for something completely unrelated on its homepage, ranks above us at the moment- which I find quite frankly appalling as our site is pretty much regarded as the worlds most popular One Direction news and fan site. We've spent the last few months improving the page-load times of our site, and we've reduced any unneccesary internal linking on the site. Approx 2 months ago we launched a new forum on the site, 301'ing all the old forum links to the new one, so that could have had an impact on rankings - but we'd expect to see an impact on Google.com as well if this was an issue. We definitely feel that we should be ranking higher on Google.co.uk. Does anyone have any ideas what the iproblems could be? Cheers, Chris.
International SEO | | PixelKicks0 -
What is the best way to make country specific IP redirect for only product pricng pages?
My website has 3 services and its price will be different for US/EU/Developed world and Asian/African countries.Apart from pricing page, all other things remain same. I want to use IP based redirect .I heard this thing is called cloaking and used by black-hat guys. What kind of instructions should I give to my web developer to look best to Google/Search bots and correctly show visitors the intended prices.Is there any caution to be taken care of. Thanks for your time
International SEO | | RyanSat0