Notes for when manipulating or working with website that don't use the default baseurl

  1. base tag in the html head like the following
<head>
  <base href="/" target="_self" />
</head>

More about it

  1. To respect the base tag, you can use the following in your markdown or html files

For markdown, use relative paths

[link](dir/file)

For html, the same can be done and most browsers will handle it for you

<a href="dir/file"> File </a>
  1. To get the browser to go the root of the baseurl even when the head doesn't have a
    base tag.
<a href="."> Root </a>

backlinks