Readme
Last updated
Was this helpful?
Last updated
Was this helpful?
๊ฒ์์์ง ์ต์ ํ(Search Engine Optimization, SEO)๋ ์น์ฌ์ดํธ์ ๋ฐฉ๋ฌธ์ ์๋ฅผ ๋๋ฆฌ๊ธฐ ์ํด ๊ฒ์์์ง์ ๊ฒ์ ๊ฒฐ๊ณผ ํ์ด์ง(SERP)์์ ์น์ฌ์ดํธ์ ์์๋ฅผ ๋์ด๋ ํ๋ก์ธ์ค์ ๋๋ค.
URL ๊ตฌ์กฐ : ์ฌ์ฉ์๊ฐ ์ ํ์ ํ ์ ์๋ Slug๋ฅผ ์ฐ์.
MetaData : ๊ฐ ํ์ด์ง์์ ์ ํํ๊ณ ์์ฑ๋ meta data๋ฅผ ์์ฑํ๋ค.
open graph :
Image ์ต์ ํ
sitemap
static
dynamic
Robots.txt ํ์ผ ์์ฑ
frontend ์ฑ๋ฅ (web vitals)
Mobile Friendly
favicon
local font
open graph image
google search console
google analytics
nextjs 14
slug๋ฅผ ์ฌ์ฉํ์ฌ ์ฌ์ฉ์๊ฐ ์ดํดํ๊ธฐ ์ฝ๊ฒ ์์ฑํ๋ค.
์๋ฅผ๋ค๋ฉด ๋ค์๊ณผ ๊ฐ๋ค.
'https://www.thisisgame.com/webzine/news/nboard/263/?category=1&n=189072' (no good)
'https://www.thisisgame.com/ํ๋ ์ด์์คํฌ์ ๊ฐ์ผ ํ ์ด์ /' (good)
๊ฐ ํ์ด์ง์์ ์ ํํ๊ณ ์์ฑ๋ meta data๋ฅผ ์์ฑํ๋ค.
ํ์ด์ค๋ถ์ด๋ ํธ์ํฐ์์ ๋งํฌ๋ฅผ ๊ณต์ ํ ๋ ๋ณด์ฌ์ง๋ ์ ๋ณด๋ฅผ ์ค์ ํ ์ ์๋ค.
og:title - The title of your object as it should appear within the graph, e.g., "The Rock".
og:type - The type of your object, e.g., "video.movie". Depending on the type you specify, other properties may also be required.
og:image - An image URL which should represent your object within the graph.
og:url - The canonical URL of your object that will be used as its permanent ID in the graph, e.g., "https://www.imdb.com/title/tt0117500/".
opengraph debugger : https://en.rakko.tools/tools/9/
twitter card validator : https://cards-dev.twitter.com/validator
facebook debugger : https://developers.facebook.com/tools/debug/
linkedin post inspector : https://www.linkedin.com/post-inspector/
pininterest validator : https://developers.pinterest.com/tools/url-debugger/
socialsharepreview : https://socialsharepreview.com/
opengraph๋ฅผ ์ฐ๋ฉด๋์ง ์ ๋ twitter๋ ๋ ๋ฐ๋ก ๋ง๋ค์๋๊ฐ..
https://developer.x.com/en/docs/twitter-for-websites/cards/overview/markup
๊ฐ์๊ฒ์ด ๋ง์ผ๋ฏ๋ก ๊ฐ์๊ฑด og๋ฅผ ์ฐ๊ณ ๋๋จธ์ง๋ง ํธ์ํฐ ์นด๋๋ฅผ ์ฐ์.
ํ์ด์ง๊ฐ ์์ผ๋ฉด not found๋ฅผ ๋ณด์ฌ์ฃผ์. ๋น ํ์ด์ง๋ฅผ ๋ณด์ฌ์ฃผ๋๊ฒ๋ณด๋ค ์ข๋ค.
๋๋ฉ์ธ
์ฐธ๊ณ ๋๋ฉ์ธ
ํ์ด์ง ์กฐํ์
ํด๋ฆญ๋ฅ
metadata์์ฑ์ ๋๋น ์ฝ์ด์ค๋ fetch๋ฅผ ์ฌ์ฉํ๋ค. ๋ณธ๋ฌธ์ fetch๊ฐ ์์ด๋ ์๊ด์๋ค. nextjs๊ฐ ๋๋ฒ ํธ์ถ๋๋ฉด ํ๋ฒ๋ง ํธ์ถํ๊ณ ๋ฐ์ดํฐ๋ฅผ ๊ณต์ ํ๋ค.
client component๋ ๊ฒ์์ด ๋์ง ์์ผ๋ฏ๋ก ๊ฐ๋ฅํํ ์ ๊ฒ ๋ง๋ ๋ค.