Sign in

Hexo builds a blog on GitHub in the subdirectory, and the access path is gihub . io / blog , How does personal domain name point to this path?

vllcl edited in Thu, 21 Jul 2022

Personal domain name path can only be replaced github.io instead of github.io/blog , resulting in my static files can not be loaded in, personal blog path more / blog /, how to solve? Yes. Can you help me? Domain name settings are done on alicloud.

1 Replies
commented on Fri, 22 Jul 2022

I remember that in the site configuration file, there is a URL entry, and add that / blog here

## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: https://github.io/blog
root: /blog/
lock This question has been locked and the reply function has been disabled.