The main reason for using the <base> label is to ensure that all the relative URLs in the document can be broken down into the correct document address, the document can be correctly parsed even if it is moved or renamed.
When creating a document set, it is particularly important to use the <base> tag. By placing the correct <base> tag in each document, you can move the entire document set between directories and even servers without damaging any links in the document. If you want to direct a user query to a URL different from the main document URL, you also need to use the <base> tag for the searchable document (<isindex>.
If the document colleague contains the <isindex> label and other relative URLs, the problem may occur if the relative URL is irrelevant to the desired index processing URL. For this reason, do not specify the document query URL in a searchable document using the <base> tag.
For example:
<Base href = "http://www.163.com"> the relative address of the entire page is expanded under www.163.com. No matter where it is moved.