SEO 작업

2017년 12월 04일


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

 
댓글은 로그인 사용자만 작성 가능합니다. 로그인하기