The current URL includes a base URL setting more than once which can lead to unexpected issues.
Why is this important?
A singular base element is expected to set the URL base for any relative URLs within a page. Having multiple base tags can invalidate the document and potentially confuse search engine indexing processes.
What does the Optimization check?
This Optimization activates when any internal URL is detected to have two or more base tags.
Examples that trigger this Optimization:
Imagine visiting the address: https://example.com/page-a
The Optimization would be set off for this address if it contained multiple base tags, even with identical base URLs:
<!doctype html><html lang="en"> <head> <base href="https://example.com"> ... <base href="https://example.com"> </head> <body>...</body></html>
How do you resolve this issue?
Eliminate any unnecessary base tags from URLs in question. As a best practice, also consider avoiding the use of relative URLs completely (refer to the articles below for more details).