[SEO] 개발자에게 필요한 SEO 지식, 개념 (미팅 후기)

date
Jul 7, 2023
slug
seo-개발자에게-필요한-seo-지식-개념-미팅후기
category
Dev
status
Public
tags
SEO
Blog
Next.js
Front-end
keywords
summary
SEO 개선을 위해 컨설팅 업체와의 미팅. 그 이후
type
Post
Last updated
Sep 18, 2023 12:25 AM
Created time
Jul 7, 2023 07:54 AM

현재 서비스에서 개선해야 할 것

  • 콘텐츠 내용을 이미지만으로 대체되는 것은 좋지 못하다
    • 크롤러는 이미지 내용을 인식하지 못한다
  • PC/MO 분기처리를 항시 반응형으로 해주는것은 좋지 않다
    • 사이트가 무거워지니 좋지 않아요
  • 서브 도메인은 공식적으론 상관없다 하지만, 실제 해보면 서브 도메인 <<< 서브 패스 이다.
    • 실무를 해보면 그렇다고 하더라구요
  • 내부 링크 연결이 끈끈해야 한다.
    • 내부 링크가 onClick등의 이벤트 핸들링으로 되어 있으면 크롤러는 알지 못한다.
 

기타 알게된 것

  • i love pdf.. 이녀석? 개인이 개발한 사이트였고 SEO가 굉장히 잘되어 있음
    • 광고 수익으로만 연에 10억 넘게 버는듯? ㄷㄷ
 

robots.txt와 sitemap

피드백 해준 내용
  • 네트워크 상태 코드가 200이 아닌 3xx, 4xx 등의 url은 사이트맵에 포함하지 말 것
  • 사이트맵에 기본적인 url들 또한 포함시킬 것
  • robots.txt에 다수 sitemap을 명시하는 것 보다 index sitemap을 사용할 것
  • index sitemap을 robots.txt에 명시할 것
  • 가능하다면 robots.txt의 disallow * 를 제거하고 모두 허용한 뒤 필요한 곳만 disallow 처리할 것
 
참고 자료
 
이상적인 robots.txt, 사이트맵의 구조 (예시) (모범답안: 사람인)
// https://{domain}/robots.txt

User-agent: 특정비공개할대상
Disallow: /

User-agent: *
Allow: /

Sitemap: https://{domain}/sitemapindex.xml




// https://{domain}/sitemap.xml
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<script/>
	<url>
		<loc>https://{domain}/list/activity</loc>
		<changefreq>hourly</changefreq>
		<priority>0.8</priority>
	</url>
	<url>
		<loc>https://{domain}/channel</loc>
		<changefreq>daily</changefreq>
		<priority>0.9</priority>
	</url>
	<url>
		<loc>https://{domain}/coverletter</loc>
		<changefreq>weekly</changefreq>
		<priority>1</priority>
	</url>
	<url>
		<loc>https://{domain}/welcome</loc>
		<changefreq>weekly</changefreq>
		<priority>0.2</priority>
	</url>
	...
</urlset>




// https://{domain}/sitemapindex.xml
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<script/>
	<sitemap>
		<loc>https://{domain}/sitemap/sitemap.xml</loc>
		<lastmod>2023-09-08T07:00:00+09:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://{domain}/sitemap/activity/001/activity-001.xml</loc>
		<lastmod>2023-09-08T07:00:00+09:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://{domain}/sitemap/channel/001/channel-001.xml</loc>
		<lastmod>2023-09-08T07:00:00+09:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://{domain}/sitemap/coverletter/001/coverletter-001.xml</loc>
		<lastmod>2023-09-08T07:00:00+09:00</lastmod>
	</sitemap>
	...
</sitemapindex>




// https://{domain}/sitemap/activity/001/activity-001.xml
<?xml
version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
  <url>
    <loc>https://{domain}/activity/123456</loc>
    <lastmod>2023-09-08T04:19:50+09:00</lastmod>
		// 사람인의 경우 모바일을 위한 별도 사이트맵이 있었음
    <xhtml:link rel="alternate" media="only screen and (max-width: 640px)" href="https://m.saramin.co.kr/job-search/company-info-view/csn/RzBaRnNqKzJuWVdVeHNDLzlFVjcrQT09/company_nm/%EC%BF%A0%ED%8C%A1%28%EC%A3%BC%29"/>
  </url>
  <url>
    <loc>https://{domain}/activity/123457</loc>
    <lastmod>2023-09-08T04:19:50+09:00</lastmod>
    <xhtml:link rel="alternate" media="only screen and (max-width: 640px)" href="https://m.saramin.co.kr/job-search/company-info-view/csn/Z1RFZDZ5TmJTa1VwR3BzS2NTRWZmZz09/company_nm/%ED%95%9C%EA%B5%AD%EC%82%B0%EC%97%85%EC%9D%80%ED%96%89"/>
  </url>
</urlset>