Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
I'm experiencing an issue with SEO crawlers (can't crawl - File size of the HTML page is too big) on my site at https://mobilhouse.it/
I've read some articles on the web and looks like the problem is related to a huge amount of html code in my webpage.
So I checked the code and I see a big amount of markup related to <localization-form>. The element contains a long list of divs, one for each country. I.e.:
<li class="disclosure__item" tabindex="-1">
<a class="link link--text disclosure__link caption-large focus-inset" href="#" data-value="DZ" id="Algeria">
<span class="visibility-hidden"><svg class="icon icon-checkmark" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 9" fill="none">
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.35.643a.5.5 0 01.006.707l-6.77 6.886a.5.5 0 01-.719-.006L.638 4.845a.5.5 0 11.724-.69l2.872 3.011 6.41-6.517a.5.5 0 01.707-.006h-.001z" fill="currentColor"></path>
</svg>
</span>
<span class="country">Algeria</span>
<span class="localization-form__currency motion-reduce hidden">
EUR
€</span>
</a>
</li>
Is all this markup needed? Is there a way to avoid loading all this code?
I actually use my shop as a catalogue (so there's no cart and no checkout) + I'm selling in EUR only
Thank you
@Antonio_Scr wrote:Is all this markup needed? Is there a way to avoid loading all this code?
Yes If you are a mult regional/language seller.
Unless you code your own localization form to replace it.
@Antonio_Scr wrote:I'm experiencing an issue with SEO crawlers (can't crawl - File size of the HTML page is too big)... read some articles on the web and looks like the problem is related to a huge amount of html code in my webpage.
So I checked the code...
Use performance and reporting tools that will tell you exactly what problems are don't just look at source code and assume some part of it alone is the issue.
Also validate the sites HTML and fix any big errors, 📋 not everything is breaking error, then retest performance.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025