안녕하세요. 팀드모네입니다. 오늘은 Spring boot에서 robots.txt와 sitemap.xml 적용하는 방법을 공유드립니다. 1. robots.txt와 sitemap.xml 생성 작업 수행 해당 파일은 아래의 URL에서 작업하실 수 있습니다. robots.txt 자동 생성 사이트 : https://ciroapp.com/ko/free-tools/robots-txt-file-generator sitemap.xml 자동 생성 사이트 : https://www.xml-sitemaps.com/ 2. robots.txt와 sitemap.xml 을 templates에 배치 작업이 완료된 해당 파일들을 resources > templates에 위치시킵니다. 3. RequestMapping 작성 적당한 Contr..
Spring boot에서 robots.txt와 sitemap.xml 적용하는 방법
안녕하세요. 팀드모네입니다. 오늘은 Spring boot에서 robots.txt와 sitemap.xml 적용하는 방법을 공유드립니다. 1. robots.txt와 sitemap.xml 생성 작업 수행 해당 파일은 아래의 URL에서 작업하실 수 있습니다. robots.txt 자동 생성 사이트 : https://ciroapp.com/ko/free-tools/robots-txt-file-generator sitemap.xml 자동 생성 사이트 : https://www.xml-sitemaps.com/ 2. robots.txt와 sitemap.xml 을 templates에 배치 작업이 완료된 해당 파일들을 resources > templates에 위치시킵니다. 3. RequestMapping 작성 적당한 Contr..
2023.01.29