starter-kit
starter-kit copied to clipboard
Fix/bot crawling indexing
I noticed that my blog wasn't being indexed at all, so I used Google Search Console to debug the issues. The report highlighted the problems addressed in this PR:
- Added a
try-catchblock to capture request errors when fetching unknown slugs likefeedfor example. - Added a route handler for serving favicon. This complies with SEO best practices.
- Added a redirect rule in the
next.config.jsfile to redirect requests from/feed.xmlto/rss.xml.
Summary
This PR addresses several fixes related to bot crawling and indexing of deployed blogs.
@Armadillidiid is attempting to deploy a commit to the Hashnode Team on Vercel.
A member of the Team first needs to authorize it.