본문 바로가기

[IT/Programming]/HTML related

robots.txt 랑 sitemap.xml 설정하기

728x90
반응형
# robots.txt 랑 sitemap.xml 설정하기 검색 엔진에게 사이트 어떻게 검색에 잡히게 하고 싶은지 통보해주는 robotx.txtsitemap.xml 설정하기. ## PH
  • 2023-03-09 : First posting.
## TOC ## robots.txt ``` User-agent: * Allow: / ```/ ## sitemap.xml ```[.linenums.lang-html] This XML file does not appear to have any style information associated with it. The document tree is shown below. <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <link type="text/css" rel="stylesheet" id="dark-mode-custom-link"/> <link type="text/css" rel="stylesheet" id="dark-mode-general-link"/> <style lang="en" type="text/css" id="dark-mode-custom-style"/> <style lang="en" type="text/css" id="dark-mode-native-style"/> <style lang="en" type="text/css" id="dark-mode-native-sheet"/> <url> <loc>https://kipid.tistory.com</loc> <lastmod>2023-03-09T09:01:46+09:00</lastmod> <priority>1.0</priority> </url> <url> <loc>https://kipid.tistory.com/category</loc> </url> <url> <loc>https://kipid.tistory.com/category/%5B%EC%82%AC%ED%9A%8C-%EC%A0%95%EC%B9%98-%EA%B2%BD%EC%A0%9C%5D/%EC%82%AC%ED%9A%8C</loc> </url> <url> <loc>https://kipid.tistory.com/category/%5B%EC%82%AC%ED%9A%8C-%EC%A0%95%EC%B9%98-%EA%B2%BD%EC%A0%9C%5D/%EC%A0%95%EC%B9%98</loc> </url> <url> <loc>https://kipid.tistory.com/category/%5BPhysics/Math%5D/Physics</loc> </url> <url> <loc>https://kipid.tistory.com/category/%5BIT/Programming%5D/Algorithm/Database</loc> </url> <url> <loc>https://kipid.tistory.com/category/%5BRecoeve.net%5D</loc> </url> <url> <loc>https://kipid.tistory.com/category/%5B%EC%82%AC%ED%9A%8C-%EC%A0%95%EC%B9%98-%EA%B2%BD%EC%A0%9C%5D/%EA%B2%BD%EC%A0%9C</loc> </url> <url> <loc>https://kipid.tistory.com/category/%5BPhysics/Math%5D/Math</loc> </url> <url> <loc>https://kipid.tistory.com/category/%5BIT/Programming%5D/HTML%20related</loc> </url> <url> <loc>https://kipid.tistory.com/category/%5BPhysics/Math%5D</loc> </url> <url> <loc>https://kipid.tistory.com/category/%5BIT/Programming%5D</loc> </url> <url> <loc>https://kipid.tistory.com/category/%5B%EC%82%AC%ED%9A%8C-%EC%A0%95%EC%B9%98-%EA%B2%BD%EC%A0%9C%5D</loc> </url> <url> <loc>https://kipid.tistory.com/category/%5BMusic/Break%5D</loc> </url> <url> <loc>https://kipid.tistory.com/tag</loc> </url> <url> <loc>https://kipid.tistory.com/guestbook</loc> </url> <url> <loc>https://kipid.tistory.com/entry/AI-%EA%B7%B8%EB%A6%BC-%EC%82%AC%EC%9D%B4%ED%8A%B8</loc> <lastmod>2023-03-09T08:14:16+09:00</lastmod> </url> <url> <loc>https://kipid.tistory.com/entry/Lists</loc> <lastmod>2023-03-08T19:57:39+09:00</lastmod> </url> <url> <loc>https://kipid.tistory.com/entry/LaTeX-Special-Characters</loc> <lastmod>2023-03-08T19:55:26+09:00</lastmod> </url> <url> <loc>https://kipid.tistory.com/entry/Referrer-in-Server-Vert-x-and-Client-javascript</loc> <lastmod>2023-03-08T19:46:11+09:00</lastmod> </url> <url> <loc>https://kipid.tistory.com/entry/Guessing-a-distance-from-wifi-with-signal-strength-RSSI</loc> <lastmod>2023-03-08T19:41:18+09:00</lastmod> </url> ... </urlset> ```/ ## RRA
  1. www.ascentkorea.com :: 검색엔진 최적화 - Robots.txt와 Sitemap.xml 제대로 설정하기, 2020-10-07, by 박세용
  2. velog.io/@yena1025 :: SEO: robots.txt와 sitemap.xml에 대하여, 2022-02-27, by yena1025
728x90
반응형