top of page
  • Writer's pictureBrent Payne

Base URL malformed or empty

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:

<base href="">


Incorrect protocol in base URL:

<base href="htttps://example.com">


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).


Further reading

0 views0 comments

Recent Posts

See All

The skip-link target should exist and be focusable

At Loud Interactive, we're committed to ensuring that digital accessibility is at the forefront of website design and development. During our SEO audits, we look for and attempt to identify an area of

Timed meta refresh must not exist

At Loud Interactive, we regularly perform a SEO audits. We often stumble upon an important issue that could significantly impact user experience and accessibility on websites. We're talking about the

bottom of page