l u n a m o t h  4 t h   |  COVER  |  TAG CLOUD  |  GUEST  |  RSS 


| 301 permanent redirect in .htaccess  [마우스 포테이토]

Search Engine Friendly Redirects | Performancing.com
RewriteCond %{HTTP_HOST} ^www\.domain\.com
RewriteRule (.*) http://domain.com/$1 [R=301,L]

검색 엔진 최적화 이런거 정말 신경 안 쓴다니까요~ :p


2006-01-17 오전 3:30
Behind the Scenes with Apache's .htaccess - Brainstorms and Raves
2006/01/13 21:49 2006/01/13 21:49



tags: ,

Posted by lunamoth on 2006/01/13 21:49
(4) comments



    어떻게 하는건가요? 저는 최적화 하고 싶어요. (...)

    엘리타쥬 2006/01/13 22:22 r x
      루트의 .htaccess 파일에 추가하시면 됩니다.

               lunamoth 2006/01/13 22:24 x
    첫째줄은 ^www\.domain\.com 요렇게 해야 맞을꺼 같네요 ^^
    (저는 RewriteCond %{HTTP_HOST} ^[0-9A-Za-z.-]+\.crizin\.net$ [NC] 이렇게 씁니다)

    crizin 2006/01/14 15:00 r x
      예 그런가요. 수정했습니다. ;)

               lunamoth 2006/01/14 16:12 x
      COMMENT
        



lunamoth
Textcube

Profile
Contact



Suede
brett anderson

lunamoth on Twitter
Miranda NG

Follow @lunamoth
http://feeds.feedburner.com/Lunamoth
follow us in feedly