The website is now hosted under fdu-msc.github.io/forum/, however the root path is fdu-msc.github.io, it means whenever we want to refer to a page within the website, we need to write [page](/forum/path/to/page), however this is not favorable because we could not be assure that we won't move the site to any other place, for example, if we buy a domain name in the future, or more essentially, when we are building and hosting the website locally, the path will be broken, and all these internal links will be 404.
This is a very critical problem, we need to find a solution as soon as possible.
The website is now hosted under
fdu-msc.github.io/forum/
, however the root path isfdu-msc.github.io
, it means whenever we want to refer to a page within the website, we need to write[page](/forum/path/to/page)
, however this is not favorable because we could not be assure that we won't move the site to any other place, for example, if we buy a domain name in the future, or more essentially, when we are building and hosting the website locally, the path will be broken, and all these internal links will be 404.This is a very critical problem, we need to find a solution as soon as possible.
Possible solution can be,
1.Thoroughly search for an exisiting solution
base_url
when write path