On this page
What this issue is
Many pages build their content in the browser. They load JavaScript files, style sheets and data from an API, and then draw the page. Search engines do the same in a step called rendering. If a file the page needs is blocked, the crawler cannot fetch it and the page may render incomplete.
The usual causes are a Disallow rule in robots.txt that covers folders such as /wp-content/, /assets/, /static/ or /api/, a firewall or CDN rule that returns 403 to crawlers, or a script hosted on another domain whose own robots.txt blocks crawling. Googlebot obeys robots.txt for each resource it fetches. Note that this is different from a script failing with an error (see the related issue on JS errors).
Why it costs you leads or sales
When the render is incomplete, the crawler may miss your main text, product details, prices, internal links or structured data. Pages can then rank for less, show weak snippets or be left out of search and AI answers. Some blocked files also hide layout, so Google may judge the page as hard to use on mobile.
The damage is quiet. Visitors who arrive still see a working page, so nobody reports it. You only notice when organic traffic to landing pages drops.
- Crawler requests pageHTML is fetched fine
- Fetches JS, CSS, APIrobots.txt or firewall blocks them
- Page rendersBlank or partial content
- Indexed and rankedWeak or missing in search and AI answers
The page loads for people, but the crawler cannot fetch the files that draw the content.
Example: how much of a page's text a crawler might see before and after unblocking its scripts. Numbers are illustrative.
How to check if your site has it
Run URL Inspection
In Google Search Console, paste a key page URL into the top bar, then choose Test live URL.
Open the rendered view
Click View tested page, then check the Screenshot tab. A blank or unstyled screenshot is a warning sign.
Read the resource list
Open More info, then Page resources. Any file marked Blocked by robots.txt or Other error needs a look.
Compare the HTML
In the same view, open the HTML tab and search for your main heading and body text. If it is missing, the render is incomplete.
Read your robots.txt
Open yourdomain.com/robots.txt and look for Disallow lines that cover script, style or API paths. Also check the robots.txt of any other domain that hosts your scripts.
User-agent: *
Disallow: /assets/
Disallow: /static/js/
Disallow: /api/
Disallow: /wp-content/themes/How to fix it
The fix is to let crawlers fetch every file needed to render your main content. Where you edit robots.txt depends on your platform.
Check for a physical file or plugin
Open yourdomain.com/robots.txt. If you use Yoast SEO, Rank Math or All in One SEO, edit it in the plugin's file editor (for example Yoast: Tools, File editor). Otherwise edit the file over SFTP.
Remove blocks on theme and plugin folders
Delete Disallow lines for /wp-content/ , /wp-includes/ and theme or plugin folders. Keep /wp-admin/ blocked, with an Allow for /wp-admin/admin-ajax.php.
Check security plugins
If a security or firewall plugin blocks bots, allow verified Googlebot rather than blocking by user agent alone.
Edit robots.txt.liquid
Go to Online Store, Themes, Edit code, and add or open the robots.txt.liquid template.
Remove custom Disallow rules
Delete any custom rule that blocks asset, script or app proxy paths your storefront needs. The default rules are normally safe.
Check apps
If an app loads content from its own domain, check that domain's robots.txt and ask the app vendor if it blocks crawlers.
Open the robots.txt setting
Go to Site settings, SEO, Indexing, and look at the robots.txt box.
Remove blocking rules
Delete Disallow lines for asset or script folders, then publish the site.
Open the robots.txt editor
Go to Marketing and SEO, SEO Tools, Robots.txt Editor.
Remove custom blocks
Delete any custom Disallow line that covers resources your pages use, then save.
Edit robots.txt at the web root
Remove or narrow Disallow rules that cover JS, CSS, image or API paths used by public pages.
Check server and CDN rules
Look for WAF, hotlink protection or rate limits returning 403 or 429 to Googlebot, and allow verified Googlebot.
Host critical files on your own domain
If a needed script lives on a third-party domain that blocks crawling, serve a copy from your domain where the licence allows.
User-agent: *
Allow: /assets/
Allow: /static/js/
Allow: /api/public/
Disallow: /api/private/
Sitemap: https://www.example.com/sitemap.xmlHow to confirm it's fixed
Retest the live URL
Run URL Inspection, Test live URL again. Page resources should no longer list blocked files that matter.
Check the screenshot and HTML
The screenshot should look like the real page and the rendered HTML should contain your main text and links.
Request indexing
For your most important pages, click Request indexing so Google re-crawls them sooner.
Watch the reports
Over the next weeks, check the Pages report in Search Console for changes in indexed pages.
How to prevent it happening again
- Keep robots.txt in version control and review changes before they go live.
- Never copy a staging robots.txt to production without checking it.
- Re-run URL Inspection on your top landing pages after theme, plugin, CDN or firewall changes.
- Check the robots.txt of any third-party domain that serves scripts your content depends on.
- Block only what you must, and prefer narrow paths over whole asset folders.
- Add a note to your release checklist: test one page in a live render tool.
How FunnelGuard handles this
FunnelGuard does not check for blocked rendering resources yet. It is a possible future check, so do not rely on FunnelGuard to tell you about it today.
What FunnelGuard does cover nearby: a robot visitor runs your real customer journeys, such as lead forms, checkouts and booking buttons, on a schedule, and checks each step and the tracking hits sent to ad and analytics platforms. If a blocked or broken script stops a form or button working for visitors, the journey check can show that step failing, with a screenshot and a likely cause. It does not tell you what Googlebot can render.
To watch for this issue yourself, run URL Inspection on key pages monthly and after every release, and keep an eye on robots.txt changes. A crawler such as Screaming Frog with JavaScript rendering turned on can also list blocked resources across a whole site. You can also start with the free read-only FunnelGuard website audit for a general look at your site.
Day 0
A developer adds Disallow: /assets/ to robots.txt to save crawl budget.
Week 1
Google re-crawls pages and cannot fetch the scripts that draw the content.
Weeks 2-4
Snippets turn thin and some pages drop out of results.
Later
Someone runs URL Inspection, finds the blocked files and removes the rule.
Questions people ask
Why does Google say page resources couldn't be loaded?
It means Googlebot tried to fetch a file the page uses, such as a script, style sheet or image, and could not. The common reason is a robots.txt rule that disallows the file's path. A server error, a firewall block or a timeout can cause it too.
Should I allow Googlebot to crawl my JavaScript and CSS files?
Yes, for files that draw your public content or layout. Google renders pages like a browser and needs those files to see what visitors see. Keep private or admin paths protected.
How do I find which resources are blocked on my page?
In Google Search Console, run URL Inspection on the page and choose Test live URL. Then open View tested page, More info, Page resources to see each file and whether it was blocked by robots.txt.
Does blocking JavaScript in robots.txt hurt SEO?
It can, if the blocked scripts build your main content, links or structured data. Google may then index an empty or partial page. Blocking scripts that only run ads or analytics is usually harmless.
Can a blocked API endpoint make my page render blank?
Yes. If your page fetches its content from an API path such as /api/ and robots.txt disallows it, the crawler gets no data and the page can render empty. Allow the public endpoints the page needs.
Do AI crawlers have the same problem with blocked resources?
Many AI crawlers do not run JavaScript at all, so they rely on the raw HTML. Blocked resources matter most for Google, which renders pages. For other crawlers, make sure key content is also in the initial HTML.
Does FunnelGuard detect blocked rendering resources?
Not yet. It is a possible future check. Today, use Google Search Console's URL Inspection or a JavaScript-rendering crawler to find them.
Related issues
- SEO-136Main content only rendered client-side, empty raw HTMLFix guide
- SEO-139JS errors stop the page rendering for crawlersFix guide
- SEO-144Hydration mismatch or blank page on slow JSFix guide
- SEO-145Dynamic rendering serves outdated or different content to botsFix guide
- SEO-146Pre-rendering service expired or brokenFix guide
- SEO-142Lazy-loaded content requiring scroll never renderedFix guide