네이버블러그 도메인을 고정시켜 연결시 모바일에서 크기 문제 문의 드립니다.

네이버블러그 도메인을 고정시켜 연결시 모바일에서 크기 문제 문의 드립니다.

QA

네이버블러그 도메인을 고정시켜 연결시 모바일에서 크기 문제 문의 드립니다.

본문

네이버블러그를   도메인을 고정으로 연결하여 주소창에 도메인을 보여주려고 합니다.

피시에는 정상적으로 잘 되는데

모바일에서는 피시에서 모바일버전 부른것처럼 크기가 제대로 나오질 않습니다.

(index.php 에서 도메인 고정시키고 index0.php에서 피시 모바일 분리)

 

여러방법을 사용했는데도 되지를 않고 도메인 주소를 포기하고 네이버블러그 주소로 연결하면 정상적으로 작동 됩니다.

네이버 자체 문제인가 의심도 들고요..

혹시 아시는 분 있을까요?

현재는 index0.php 피시 모바일 분리시키면서 그누를 사용합니다만

그누를 사용하지 않고 php, 자바의 location, header 다 사용해도 똑같은 결과가 나옵니다.

 

 

---------------------------
ndex.php  도메인고정

<html>
<head>
<meta http-equiv="Content-Type" content= "text/html; charset=utf-8" />
<title>타이틀</title>
</head>
<frameset rows="*" border="0" >
<frame src="index0.php" scrolling="no" marginwidth="0" marginheight="0" noresize> //여기가 실제로 페이지가 이동되는 프레임
</frameset>

 

---------------------------
ndex0.php  피시 모바일 분리

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content= "text/html; charset=utf-8" />

</head>
<body>

 

<?php

include_once('./_common.php');

if (G5_IS_MOBILE) {
    header("Location: https://m.blog.naver.com/himnae-kr"); 
    return;
}

header("Location: https://blog.naver.com/himnae-kr"); 
?>

</body>


</html>

이 질문에 댓글 쓰기 :

답변 2

위에서 언급하신

---------------------------
ndex0.php  피시 모바일 분리

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content= "text/html; charset=utf-8" />

</head>
<body>

 

<?php

include_once('./_common.php');

if (G5_IS_MOBILE) {
    header("Location: https://m.blog.naver.com/himnae-kr"); 
    return;
}

header("Location: https://blog.naver.com/himnae-kr"); 
?>

</body>


</html>

이 영역을

 

다음과같이 변경해보세요

ndex0.php


<?php
include_once('./_common.php');
if (G5_IS_MOBILE) {
    header("Location: https://m.blog.naver.com/himnae-kr"); 
    return;
}
header("Location: https://blog.naver.com/himnae-kr"); 
답변을 작성하시기 전에 로그인 해주세요.
전체 123,159 | RSS
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT