There should only be one <base> tag per page to resolve relative URLs. All extra directives should be deleted.
Here’s how to do it.
Multiple <base> directives are conflicting to search engines.
HTML standards only allow a single <base> tag on a page. A search engine may not know which directive to follow if multiple exist on a single page.
Even if the same <base> tag is repeated, issues can arise. There should only be one <base> tag.
You can find your site’s <base> tags by inspecting a page and looking for “<base href=“”>”. This is done with the “Inspect” feature of your browser and a simple find function (i.e. CTRL + F).
If there is more than one tag found, that means there are extra <base> tags that will need to be deleted.
Here’s an example of a page with multiple <base> tags:
<base href="https://seoautomation.io/">
<base href="https://www.seoclarity.net/">
Check each of the <base> tags and work with your tech team to find and remove any duplicated or incorrect versions from your CMS or page templates.
This scenario is easier to see because the HREFs are different. However, the issue still takes form if the HREFs are the same, as we see here:
<base href="https://seoautomation.io/">
<base href="https://seoautomation.io/">
Once you identify the extra <base> tags, you can remove them. If you have the necessary edit access, you can do this through your CMS. If not, your dev team should be able to help you remove the extra directives.
A second approach to this optimization lets you remove extra <base> tags at scale across your site, all in a matter of minutes. No dev team required for this fix!
Here’s how to remove extra base tags with SEO execution platform ClarityAutomate.
<Base> tags are part of the HTML, so begin by selecting “Code” in ClarityAutomate.
For other optimizations, you may want to add or update certain site elements, but in this case the tags need to be deleted.
This last step selects the extra <base> tags that will be removed. After that, you can push the changes live to resolve this issue.
With ClarityAutomate, a few clicks is all it takes to remove any duplicate or extra <base> tags.