top of page
  • Writer's pictureBrent Payne

Multiple, mismatched base URLs

Having more than one base URL on a webpage, each with distinct URLs, is not considered valid.


Why is this important?

When specifying a base URL through the base element, it sets a reference point for relative URLs within a page. If multiple base elements are present, it leads to invalid HTML, which can disrupt search engine's ability to properly crawl relative URLs.


What does the Optimization check?

Should there be multiple base tags with differing base URLs present on a single internal URL, this Optimization will be activated.


Examples that trigger this Optimization:

Visualize the scenario where the URL is: https://loudinteractive.com/service-page

The Optimization becomes active when the page contains at least two base tags, contradicting each other in the base URL:


<!doctype html><html lang="en">  <head>    <base href="https://loudinteractive.com">    ...    <base href="http://loudinteractive.com">  </head>  <body>...</body></html>


How do you resolve this issue?

To rectify this, eliminate all redundant base tags and make sure only one is defined. Additionally, we recommend avoiding the use of relative URLs entirely (refer to the articles below).


Further reading

0 views0 comments

Recent Posts

See All

CSS file size too large discovered in SEO audit

In our SEO audits at Loud Interactive, we often come across a common yet significant issue that can heavily impact your website's loading speed and overall performance: CSS file size too large. Let's

CSS file size too large discovered in SEO audit

When conducting an SEO audit on your site, one issue that might come up is that your CSS file size is too large. But why does this matter, and what can you do about it? Let's dive in. What's the Issue

H1 tag missing or empty" Discovered in an SEO Audit

At Loud Interactive, we've encountered a common issue during our SEO audits that can significantly impact a website's performance on search engines: the "H1 tag missing or empty" warning. This problem

bottom of page