hexo next主题 站内搜索出现异常,无法正常跳转,跳转时出现异常

版权声明:本文为博主原创文章,转载请一定附上博主原文链接,并署名转自ZeroZone零域。 https://blog.csdn.net/ksws0292756/article/details/82714984

主要看看跳转后的url是什么,如果url异常,就需要在站点配置文件(注意不是主题配置文件)下面看看你的url和永久链接设置的是否正确。如下所示:

# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: https://hellozhaozheng.github.io
root: //
permalink: z_post/:title/  #这里一定要注意,z_post的前面绝对不能加 / ,否则就会挑战异常
permalink_defaults:

猜你喜欢

转载自blog.csdn.net/ksws0292756/article/details/82714984