When a base URL is incorrectly structured or not provided, it can negatively impact the resolution of relative URLs on your web page.
Why is this important?
The base element specifies a default URL for all relative URLs on a page. A faulty or absent base element can lead to crawling difficulties for search engines when processing these relative paths.
What does the optimization check?
Loud Interactive’s optimization system flags any page where the base element is detected to contain an invalid or non-existent base URL.
Examples that trigger this optimization:
The following scenarios use the hypothetical URL: https://example.com/page-a
If the base element is set incorrectly, such as in the examples below, the optimization will be activated:
Base element with an empty URL:
Incorrect protocol in base URL:
The optimization will also be triggered for other mishandlings of the base URL, like spaces within the URL.
How do you resolve this issue?
Rectify the base URL in any page where issues are found. Moreover, Loud Interactive suggests avoiding the use of relative URLs entirely (refer to the articles below).