Search Engine Watch Forums  - Search Engine Watch (#SEW)
Search Engine Watch
SEO News

 

  #1  
Old 03-17-2008
Dj Morri Dj Morri is offline
Member
 
Join Date: Aug 2004
Posts: 123
Dj Morri is an unknown quantity at this point
Multiple languages - Javascript Redirect

How can I have a SEO friendly home page if I want users from different countries to be redirected to their appropiate language every time they come to my site?

This is the code on my actual home page including some other text with links to their appropiate language:

<script type="text/javascript">
// REDIRECT, IF JAVASCRIPT ENABLED
var r1 = false;
try {
// EXCITE HOSTNAME DETECTION
if (location.host.toLowerCase() == 'website domain') {
location.href = 'other address';
} else {
r1 = true;
}
} catch(e) {
r1 = true;
}

// FAIL-SAFE REDIRECT
if (r1) {
location.href = 'Default.aspx?d=' + Math.round(Math.random()*100000).toString() + '_' + new Date().getTime().toString();
}
</script>

As you can see the homa page is a re-direct and I know this is bad for search engines, How can I use the metholody that IBM applied in order to re-direct my users to their appropiate language based on their country.
Reply With Quote
  #2  
Old 03-17-2008
Jazajay's Avatar
Jazajay Jazajay is offline
 
Join Date: Jul 2007
Location: Leicester, England
Posts: 704
Jazajay has disabled reputation
Re: Multiple languages - Javascript Redirect

A JavaScript redirect is really bad for rankings, I would remove it. What you want to do is provide a link if they come from a particular country to your corresponding site, in that language.

Look into Geo-targetting.

http://www.999tutorials.com/tutorial...-visitors.html

Should help.

Jaza
Reply With Quote
  #3  
Old 03-17-2008
jimbeetle's Avatar
jimbeetle jimbeetle is offline
 
Join Date: Mar 2006
Location: New York City
Posts: 1,000
jimbeetle has much to be proud ofjimbeetle has much to be proud ofjimbeetle has much to be proud ofjimbeetle has much to be proud ofjimbeetle has much to be proud ofjimbeetle has much to be proud ofjimbeetle has much to be proud ofjimbeetle has much to be proud ofjimbeetle has much to be proud of
Re: Multiple languages - Javascript Redirect

Okay, I like that jaza. But say if the IP targeting is off (possible), or if the visitor actually prefers a different language/country. How would you handle that?

Yeah, I know, I'm a pain, that's my job. Plus, I know this is real simple for you.
Reply With Quote
  #4  
Old 03-18-2008
Jazajay's Avatar
Jazajay Jazajay is offline
 
Join Date: Jul 2007
Location: Leicester, England
Posts: 704
Jazajay has disabled reputation
Re: Multiple languages - Javascript Redirect

He he
I don't think it matters to be honest as he's probably being penalized for the JavaScript redirect.

Some books will walk you through it if online material sucks.

Sorry, your right Jim.
I'll make my point clearer.
My fault my superior brain and all that, sometimes I just forget

Under no circumstances redirect via Geo-location. As Jim suggests.
Lets say your sites German, and I was a German person living in the UK, I don't understand English that well so want a German website I go to your site and get re-directed to the English version. Not good as I want the German version.

You keep your site as is but at the top provide a flag of the country with Please visit our English site when the Geo-tracking detects they are from the UK/US or any other country. that way they get the German version and a link to your English version of your site if they came from a English country.

It's not actually that hard. Basic Geo-tracking requires a Data Base of country specific IP's, which I think that site provides, and logic to test it. Mines slightly more complicated due to in country languages granted Jim bob buts that's because I'm a special and complex person.

To be honest I copied mine from a book, yes I know sometimes I need help.
Geo-tracking's not something I'm going to need to implement every day hence the link and not an explanation.

Jaz

Last edited by Jazajay : 03-18-2008 at 03:35 AM. Reason: Odd word here and there
Reply With Quote
  #5  
Old 03-18-2008
AussieWebmaster's Avatar
AussieWebmaster AussieWebmaster is offline
Forums Editor, SearchEngineWatch
 
Join Date: Jun 2004
Location: NYC
Posts: 8,141
AussieWebmaster has a brilliant futureAussieWebmaster has a brilliant futureAussieWebmaster has a brilliant futureAussieWebmaster has a brilliant futureAussieWebmaster has a brilliant futureAussieWebmaster has a brilliant futureAussieWebmaster has a brilliant futureAussieWebmaster has a brilliant futureAussieWebmaster has a brilliant futureAussieWebmaster has a brilliant futureAussieWebmaster has a brilliant future
Re: Multiple languages - Javascript Redirect

Quote:
Originally Posted by jimbeetle View Post
Okay, I like that jaza. But say if the IP targeting is off (possible), or if the visitor actually prefers a different language/country. How would you handle that?

Yeah, I know, I'm a pain, that's my job. Plus, I know this is real simple for you.
you use a combination of geo ip recognition and browser language
Reply With Quote
  #6  
Old 03-18-2008
Jazajay's Avatar
Jazajay Jazajay is offline
 
Join Date: Jul 2007
Location: Leicester, England
Posts: 704
Jazajay has disabled reputation
Re: Multiple languages - Javascript Redirect

Cheers Aussie.
This is a bad day a SEM beating me at programming.

I know that the people who get my Geo-tracking will speak English
anyway so that for me is not issue.

Jaz
Reply With Quote
  #7  
Old 03-18-2008
Dj Morri Dj Morri is offline
Member
 
Join Date: Aug 2004
Posts: 123
Dj Morri is an unknown quantity at this point
Re: Multiple languages - Javascript Redirect

Thanks for your posts. I already have the flags with different languages at the top of our navigation. I will re-direct (301) our home page to our US version of the site and from there if the person wants to change the language their can via the flags. I think this is the best approach to be better treated for search engines, dont you think?
Reply With Quote
  #8  
Old 03-21-2008
Jazajay's Avatar
Jazajay Jazajay is offline
 
Join Date: Jul 2007
Location: Leicester, England
Posts: 704
Jazajay has disabled reputation
Re: Multiple languages - Javascript Redirect

Sounds good as long as you have done your home work or that is how you have to have it.

Just for clarification though.

The other versions are in other languages or is the nav just different?
When they click through there flag and link are removed?

Jaza
Reply With Quote
  #9  
Old 03-24-2008
Dj Morri Dj Morri is offline
Member
 
Join Date: Aug 2004
Posts: 123
Dj Morri is an unknown quantity at this point
Re: Multiple languages - Javascript Redirect

The other versions is same layout but different languages. URL's are defined dependingon the version, for example:

French: www.example.com/fr
Spanish: www.example.com/es

Last edited by jimbeetle : 03-27-2008 at 09:37 AM. Reason: Changed to example.com
Reply With Quote
  #10  
Old 03-24-2008
Jazajay's Avatar
Jazajay Jazajay is offline
 
Join Date: Jul 2007
Location: Leicester, England
Posts: 704
Jazajay has disabled reputation
Re: Multiple languages - Javascript Redirect

Cool.
Just make sure that any links go to the right countries sub folder now and your will be fine then.

French links to
yoursite.com/fr/home.php
Spanish links to
yoursite.com/es/home.php
etc...

Jaza

Last edited by Jazajay : 03-24-2008 at 10:54 AM. Reason: Odd word here and there
Reply With Quote
  #11  
Old 03-26-2008
Dj Morri Dj Morri is offline
Member
 
Join Date: Aug 2004
Posts: 123
Dj Morri is an unknown quantity at this point
Re: Multiple languages - Javascript Redirect

What about IP Delivery using this company: ip-delivery.com

Last edited by jimbeetle : 03-27-2008 at 09:38 AM. Reason: delinked
Reply With Quote
  #12  
Old 03-27-2008
Jazajay's Avatar
Jazajay Jazajay is offline
 
Join Date: Jul 2007
Location: Leicester, England
Posts: 704
Jazajay has disabled reputation
Re: Multiple languages - Javascript Redirect

Quote:
Most often this software is used to send an optimized version of a web page to a search engine, while at the same time presenting consumers an enhanced version of the same or similar page that is optimized to make sales. This technology will allow you to...
  • Optimize pages for search engines without compromising your web sites "looks" resulting in increased sales conversions.
  • Repel "Code-Jackers" who practice what the U.S. FTC calls "Pagejacking."
  • IP Delivery can prevent your competitors from ripping off the optimized source code of your search engine pages.
That's called cloaking.
Giving the Search engines content that is different from the site users. That's a breach of Googles terms of service and if caught will get your site banned from the engines.

Got to admit I love their marketing spin on it though.

There is 1 way they could pull this off but they wont use that method and as a result you will get banned. What they are doing is looking for IP address that match Google, Yahoo, Live's. When that is found they send them a different page optimized for them.

Now you will have several problems with this -
1. Unless you spend a lot of time writing none spammy text the text to the Search Engine will be spammy and easy to pick up via their other algo's. That will be penalised for that alone.

If you are spending time then writing good text just for the search engines to get around this problem why not just use that on your site.

2. I normal disagree about how advance the Search Engines want us to think their bots are, I'm normally right - I've just been done a few weeks ago over a technique the bots should have seen was nothing bad the fact they didn't, and that they use the same technique I may add, proves my point. Not that I'm still bitter or coarse.

But when it comes to detecting cloaking, in this manor, it's only a matter of time.

Why -
Well G and the others wont release all their IP's. TBH it would be madness for them to as they know it's easy to cloak for. So some of the times they will hit your site and get the other version. They will then detect what you are doing.

Secondly G uses public proxies to index your site. This does have negative side effects which are annoying but again their IP filter wont catch them when they come through them, so will again get the different content and penalize you.

Stay away mate.
Cant believe people still advertise this as a service.
You where right to ask.

Jaza

Last edited by Jazajay : 03-27-2008 at 03:49 AM. Reason: Odd word here and thier
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Languages / Sudomains vs Subdirectories vs ccTLDs weltraumpfleger Search Engine Optimization 8 10-27-2009 11:45 PM
Multiple languages, multiple domains? newtoseo Google Web Search 5 11-16-2007 12:40 PM
Strategy for domains in multiple languages midi Multilingual Search Markets & Non-US Engines 56 01-09-2007 09:27 PM
JavaScript Redirect A Google Indexing Problem? RGPHNX Google Web Search 24 05-31-2005 03:41 PM
Buying multiple domains to 301 redirect... seems shady art4x Link Building 5 01-06-2005 03:28 AM


All times are GMT -4. The time now is 06:53 PM.