How to open a website according to its location

5 replies
For example, If I have an e-comerce service only for United States, UK, India and France and I have subdomains for each location like uk.mywebsite.com, in.mywebsite.com, fr.mywebsite.com and so on.

Now when a user from France goes to this website his default domain must be fr.mywebsite.com. How to make this work?
#location #open #technical #website
  • That can be setup in google webmaster tools. Set the preffered country for the domain. Since subdomains are treated like seperate websites, do the same for each of those.

    Build backlinks from top level country TLD's to the specific country subdomain on your site.

    Make sure your currency and languages are set on each subdomain, so that they reflect the language and currency of that country. Google will rank your site for the proper countries based on the content from the subdomains.

    I was researching a website one time. It was a .com, but it only ranked in google.co.uk. Everything about the site suggested it was a USA site. But, the currency was british pound. That one factor made it not rank in the USA, but rank in UK.

    Another option would be to purchase the top level domain for each country. If it is an ecommerce site, you can use Magento to run all the stores from one domain. Honestly, ranking the subdomains or ranking seperate websites will require the same effort.
    {{ DiscussionBoard.errors[5844950].message }}
    • Profile picture of the author situ08
      Hey charles, The way you told will make google to index the country domain will rank in particular country but it does not mean that your browser will open uk.yourwebsite.com when you will open yourwebsite.com in uk.
      {{ DiscussionBoard.errors[5845163].message }}
    • Profile picture of the author faizzsheikh
      Hi Charles,

      Thanks for your answer. Perhaps, my question was not about optimizing a website for a certain location.

      For instance if you are in Canada and you enter Google.com in your browser from Canada it will automatically take you to Google.ca domain. Even though you entered Google.com, you are redirected to Google.ca. This cannot be done by optimizing.

      I am trying to find an answer for this!
      Does anyone have an answer? it will be a great help!

      Originally Posted by Charles Washington View Post

      That can be setup in google webmaster tools. Set the preffered country for the domain. Since subdomains are treated like seperate websites, do the same for each of those.

      Build backlinks from top level country TLD's to the specific country subdomain on your site.

      Make sure your currency and languages are set on each subdomain, so that they reflect the language and currency of that country. Google will rank your site for the proper countries based on the content from the subdomains.

      I was researching a website one time. It was a .com, but it only ranked in google.co.uk. Everything about the site suggested it was a USA site. But, the currency was british pound. That one factor made it not rank in the USA, but rank in UK.

      Another option would be to purchase the top level domain for each country. If it is an ecommerce site, you can use Magento to run all the stores from one domain. Honestly, ranking the subdomains or ranking seperate websites will require the same effort.
      {{ DiscussionBoard.errors[5846788].message }}
  • {{ DiscussionBoard.errors[5846817].message }}
  • Profile picture of the author faizzsheikh
    Hi Charles - Thanks a lot for sharing the information. I will now have to work it out with my programmer to understand it better. Its a PHP script and thats what I exactly needed.
    {{ DiscussionBoard.errors[5851480].message }}

Trending Topics