Home 게시판 커뮤니티 Q&A 국가별 자동 접속에 대한 문의 드립니다.

4개 답변, 2 voices Last updated by Avatar of 디아디아 9 years, 1 month 전
  • Avatar of 디아디아
    Participant
    @kalos250
    #31732

    국내용과 영문판 두 개 사이트를 멀티사이트로 제작하려고 합니다.

    문제는 접속 IP에 따라 한글판과 영문판으로 자동 접속이 되기를 원하는데, 이 방법을 찾기가 쉽지가 않네요.

    쉬이 적용할 수 있는 방법이 있는 지, 난이도가 높은 작업인 지 도움 부탁드리겠습니다. ^^;;

    Avatar of Matthew ParkMatthew Park
    Moderator
    @hackya
    #31737

    두가지 방법이 있습니다.

    방문자의 OS 가 한글인지 영문인지 (그러니까 방문자의 윈도우가 한글버전인지 영문인지) 확인해서 redirect 하는 방법과,

    국가별 IP 를 확인해 redirect 하는 방식이 존재합니다.

    php 나 js 로 코딩하시면 됩니다. 개발자라면 난이도는 매우 쉬운편 입니다.

    stackoverflow 에 여러가지 코딩방식들이 답변되어 있습니다.

    http://stackoverflow.com/questions/9838344/how-to-redirect-domain-according-to-country-ip-address

    Avatar of Matthew Park
    Attorney, front-end developer, digital media artist, WordPress enthusiast, & a father of 4 wonderful children.

    Lives in Colorado.

    Avatar of 디아디아
    Participant
    @kalos250
    #31739

    빠른 답변 감사드립니다.

    날씨는 덥고 습하지만… 즐겁고 상쾌한 오후 보내시길… ^^

    Avatar of Matthew ParkMatthew Park
    Moderator
    @hackya
    #31740

    htaccess 로 하는 방식도 있네요. 이건 저도 몰랐던. ㅎㅎ

    http://webmasters.stackexchange.com/questions/60438/htaccess-redirect-based-on-country-of-origin

    Avatar of Matthew Park
    Attorney, front-end developer, digital media artist, WordPress enthusiast, & a father of 4 wonderful children.

    Lives in Colorado.

    Avatar of 디아디아
    Participant
    @kalos250
    #31742

    이게 좀 더 만만해보이네요.

    귀한 시간 나눠주셔서, 다시 한 번 감사 드립니다. ^^

5 글 보임 - 1에서 5 까지 (총 5 중에서)
  • 답변은 로그인 후 가능합니다.