Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Rendering depends on blocked resources: how to find and fix it

SEO-137Medium impactOther toolBy FunnelGuardPublished Updated
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.

Where a blocked resource breaks the journey
  1. Crawler requests pageHTML is fetched fine
  2. Fetches JS, CSS, APIrobots.txt or firewall blocks them
  3. Page rendersBlank or partial content
  4. 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.

Content visible to the crawlerExample numbers
Content visible to the crawler (example)Resources blocked: 15 % of page text; Resources allowed: 100 % of page text0387715100Resources blockedResources allowed% of page text

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

Find blocked resources
  1. Run URL Inspection

    In Google Search Console, paste a key page URL into the top bar, then choose Test live URL.

  2. Open the rendered view

    Click View tested page, then check the Screenshot tab. A blank or unstyled screenshot is a warning sign.

  3. Read the resource list

    Open More info, then Page resources. Any file marked Blocked by robots.txt or Other error needs a look.

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

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

Example robots.txt that blocks rendering filestext
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.

Unblock rendering files by platform
  1. 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.

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

  3. Check security plugins

    If a security or firewall plugin blocks bots, allow verified Googlebot rather than blocking by user agent alone.

Fixed robots.txttext
User-agent: *
Allow: /assets/
Allow: /static/js/
Allow: /api/public/
Disallow: /api/private/

Sitemap: https://www.example.com/sitemap.xml

How to confirm it's fixed

Verify the fix
  1. Retest the live URL

    Run URL Inspection, Test live URL again. Page resources should no longer list blocked files that matter.

  2. Check the screenshot and HTML

    The screenshot should look like the real page and the rendered HTML should contain your main text and links.

  3. Request indexing

    For your most important pages, click Request indexing so Google re-crawls them sooner.

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

Prevention checklist
  • 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.

How the problem usually unfolds
  1. Day 0

    A developer adds Disallow: /assets/ to robots.txt to save crawl budget.

  2. Week 1

    Google re-crawls pages and cannot fetch the scripts that draw the content.

  3. Weeks 2-4

    Snippets turn thin and some pages drop out of results.

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

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.