사이트관리 SEO 작업

2017.12.04 23:08

이온디 조회 수:37

관련 URL 1  
관련 URL 2  
관련 URL 3  
관련 URL 4  
소스코드  


1. 레이아웃에 직접 SEO 태그 삽입하기

{Context::addHtmlHeader('<meta http-equiv="content-type" content="text/html; charset=UTF-8">')}
{Context::addHtmlHeader('<meta http-equiv = "X-UA-Compatible" content = "IE=edge" />')}

{Context::addHtmlHeader('<meta name="viewport" content="width=device-width,initial-scale=0.5, user-scalable=yes">')}
{Context::addHtmlHeader('<meta name="'.$site_name.'" content="">')}
{Context::addHtmlHeader('<meta name="robots" content="index,follow">')}

{Context::addHtmlHeader('<meta itemprop="name" content="'.$site_name.'">')}
{Context::addHtmlHeader('<meta itemprop="url" content="'.$site_url.'">')}
{Context::addHtmlHeader('<meta itemprop="image" content="'.$site_img.'">')}
{Context::addHtmlHeader('<meta itemprop="inLanguage" content="ko_KR">')}
{Context::addHtmlHeader('<meta itemprop="description" content="'.$site_desc.'">')}

{Context::addHtmlHeader('<meta property="og:site_name" content="'.$site_name.'" />')}
{Context::addHtmlHeader('<meta property="og:title" content="'.$site_name.'">')}
{Context::addHtmlHeader('<meta property="og:description" content="'.$site_desc.'">')}
{Context::addHtmlHeader('<meta property="og:url" content="'.$site_url.'">')}
{Context::addHtmlHeader('<meta property="og:image" content="'.$site_img.'">')}
{Context::addHtmlHeader('<meta property="og:type" content="website">')}
{Context::addHtmlHeader('<meta property="og:locale" content="ko_KR">')}
{Context::addHtmlHeader('<meta name="naver-site-verification" content="daa905c4ed2dee02d2c26278db6afebbebfb8ddb"/>')}

1. XpressEngine SEO 모듈 사용

https://www.xpressengine.com/index.php?mid=download&package_id=22753354

3. 네이버 웹마스터도구 사용가이드

http://webmastertool.naver.com/guide/wmt_guide_201710.pdf

4. 웹마스터도구 도움말 및 가이드

http://webmastertool.naver.com/guide/basic_markup.naver#chapter2.3

5. mozilla mdn web docs

https://developer.mozilla.org/ko/docs/Web/HTML/Element/meta