5
Your site _config.yml
(Optional):
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: https://www.hscbook.com/
root: /
permalink: article/:title/
permalink_defaults:
正常地址:https://www.hscbook.com/article/hexo-install/ 谷歌蜘蛛获取的地址:https://www.hscbook.com/article/hexo-install/null Sitemap:https://www.hscbook.com/sitemap.xml
谷歌Search Console上的抓取错误,所有链接地址结尾都被加上了null 并报404 而实际地址是没有加上null,谷歌相关文章表示是因为地址上有空格,我检查了源码并没有发现