1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Country Redirect via .htaccess

Discussion in 'Black Hat SEO' started by absztra, Jan 16, 2014.

  1. absztra

    absztra Newbie

    Joined:
    Mar 28, 2012
    Messages:
    48
    Likes Received:
    53
    I want to redirect users based on their country via the .htaccess file.
    I already heard of the MaxMind solution, however, I'm using a shared hosting for this and cannot add modules to my apache.
    I know, it is possible to redirect users via PHP/JS, however, I would prefer it being done by the .htaccess file.
    Any help is appreciated.
     
  2. innozemec

    innozemec Jr. VIP Jr. VIP

    Joined:
    Aug 19, 2011
    Messages:
    5,290
    Likes Received:
    1,799
    Location:
    www.Indexification.com
    Home Page:
    I am not sure if it is even possible on a shared hosting to do it via htaccess as for it to work you need ot have the apache module installed and enabled in the apache config

    maybe easier way for you would be to use php