pc보기에서 사용후기와 사용문의 개별페이지 검색엔진에서 제외되게금 meta태그 추가
This commit is contained in:
@ -1,6 +1,17 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
if( !isset($it) && !get_session("ss_tv_idx") ){
|
||||
if( !headers_sent() ){ //헤더를 보내기 전이면 검색엔진에서 제외합니다.
|
||||
echo '<meta name="robots" content="noindex, nofollow">';
|
||||
}
|
||||
/*
|
||||
if( !G5_IS_MOBILE ){ //PC 에서는 검색엔진 화면에 노출하지 않도록 수정
|
||||
return;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
if (G5_IS_MOBILE) {
|
||||
include_once(G5_MSHOP_PATH.'/itemqa.php');
|
||||
return;
|
||||
|
||||
@ -1,6 +1,17 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
if( !isset($it) && !get_session("ss_tv_idx") ){
|
||||
if( !headers_sent() ){ //헤더를 보내기 전이면 검색엔진에서 제외합니다.
|
||||
echo '<meta name="robots" content="noindex, nofollow">';
|
||||
}
|
||||
/*
|
||||
if( !G5_IS_MOBILE ){ //PC 에서는 검색엔진 화면에 노출하지 않도록 수정
|
||||
return;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
if (G5_IS_MOBILE) {
|
||||
include_once(G5_MSHOP_PATH.'/itemuse.php');
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user