메타태그 넣을려구하는데..
본문
현재 처리 페이지에서 헤더로케이션 발생하여서 메타 태그를 넣으면 될것 같은데
index.php 파일에 헤더 사이 쪽에 넣으면 될것 같은데 이걸 혹시 삽입만 하면 되는지
아니면 수정을 해야하는지 잘 모르겠는데 어떻게 해야할까요ㅠㅠ
<meta http-equiv="refresh" content="10; URL=홈페이지 주소">
이 태그를 넣으면 될것 같아요.. ㅜㅜ
밑에는 인덱스 파일 소스 입니다ㅠㅠ
<html>
<head>
<script src="http://aceskinet.aceski.net/js/jquery.min.js"></script>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script language='javascript'>
<!--
var mvf = false;
var ofx = 0;
var ofy = 0;
var div_n;
function fncInit(n)
{
var cookiedata = document.cookie;
if ( cookiedata.indexOf(n+'=done') < 0 ) {
document.getElementById(n).style.visibility = 'visible';
}
else {
document.getElementById(n).style.visibility = 'hidden';
}
div_n = n;
document.onmousemove = fncMove;
}
function setcookie( name, value, expirehours )
{
var todayDate = new Date();
todayDate.setHours( todayDate.getHours() + expirehours );
document.cookie = name + '=' + escape( value ) + '; path=/; expires=' + todayDate.toGMTString() + ';'
}
function closeWin(n, x)
{
if ( document.getElementsByName('chkbox')[x].checked )
{
setcookie(n, 'done', 24 );
}
document.getElementById(n).style.visibility = 'hidden';
}
function fncMVSet(n, bool )
{
div_n = n;
ofx = event.offsetX;
ofy = event.offsetY;
mvf = bool;
var obj = document.getElementById(n);
if( mvf )
obj.style.filter = 'Alpha(Opacity=50)';
else
obj.style.filter = 'Alpha(Opacity=100)';
}
function fncMove(n)
{
//alert(n);
if( mvf )
{
var obj = document.getElementById(div_n);
obj.style.top = event.clientY-ofy;
;
obj.style.left= event.clientX-ofx;
}
}
//-->
</script>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.closed').click(function() {
$('#divpop').hide();
});
});
</script>
<script src="http://aceskinet.aceski.net/js/jquery.bxslider.js"></script>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/earlyaccess/notosanskr.css">
<link rel="stylesheet" type="text/css" href="http://aceskinet.aceski.net/css/css2.css" />
<link rel="stylesheet" type="text/css" href="http://aceskinet.aceski.net/css/slide1.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0,
maximum-scale=1.0, minimum-scale=1.0, user-scalable=yes">
<title>양산에덴밸리 에이스스키샵</title>
<meta name="description" content="에덴밸리 스키샵,에덴벨리 스키샵,에덴밸리스키대여,에덴밸리보드대여,에덴밸리리프트권">
<meta property="og:type" content="website">
<meta property="og:title" content="양산에덴밸리 에이스스키샵">
<meta property="og:description" content="에덴밸리 스키샵,에덴벨리 스키샵,에덴밸리스키대여,에덴밸리보드대여,에덴밸리리프트권">
<meta name="format-detection" content="telephone=no" />
<!-- AceCounter Log Gathering Script V.7.5.2017020801 -->
<script language='javascript'>
var _AceGID=(function(){var Inf=['gtc12.acecounter.com','8080','BS4A42067772531','AW','0','NaPm,Ncisy','ALL','0']; var _CI=(!_AceGID)?[]:_AceGID.val;var _N=0;var _T=new Image(0,0);if(_CI.join('.').indexOf(Inf[3])<0){ _T.src =( location.protocol=="https:"?"https://"+Inf[0]:"http://"+Inf[0]+":"+Inf[1]) +'/?cookie'; _CI.push(Inf); _N=_CI.length; } return {o: _N,val:_CI}; })();
var _AceCounter=(function(){var G=_AceGID;var _sc=document.createElement('script');var _sm=document.getElementsByTagName('script')[0];if(G.o!=0){var _A=G.val[G.o-1];var _G=(_A[0]).substr(0,_A[0].indexOf('.'));var _C=(_A[7]!='0')?(_A[2]):_A[3];var _U=(_A[5]).replace(/\,/g,'_');_sc.src=(location.protocol.indexOf('http')==0?location.protocol:'http:')+'//cr.acecounter.com/Web/AceCounter_'+_C+'.js?gc='+_A[2]+'&py='+_A[4]+'&gd='+_G+'&gp='+_A[1]+'&up='+_U+'&rd='+(new Date().getTime());_sm.parentNode.insertBefore(_sc,_sm);return _sc.src;}})();
</script>
<noscript><img src='http://gtc12.acecounter.com:8080/?uid=BS4A42067772531&je=n&' border='0' width='0' height='0' alt=''></noscript>
<!-- AceCounter Log Gathering Script End -->
</head>
답변 2
삽입만 하면 됩니다. <head> 바로 아래에 넣어주시면 됩니다.
<head>
<meta http-equiv="refresh" content="3; URL=http://daum.net">
...
테마가 아니면 루트/index.php파일에 넣어보세요