What does 'External Blocked Resource' mean in Site Audit?
External Blocked Resource
Description
These are external resources that are blocked from loading, potentially affecting your page's appearance or functionality.
How to Fix
For each blocked external resource: 1) Contact the resource owner to request access, 2) Find an alternative resource that isn't blocked, 3) Host the resource on your own domain if possible, or 4) Remove the reference if the resource isn't essential.
Detailed Analysis
External Blocked Resource in SEO
1. What Causes This Issue
External blocked resources refer to elements such as images, JavaScript files, CSS stylesheets, or other resources hosted on third-party websites that are blocked from being accessed by search engine crawlers. This blockage can occur due to several reasons:
- Robots.txt Restrictions: The third-party website might have a
robots.txt
file that blocks crawlers from accessing certain directories or files. - HTTP Headers: The server hosting the resource might use HTTP headers to disallow access by certain user agents.
- Firewall or Security Measures: Security configurations such as firewalls might block external requests, including those from search engine bots.
- Permissions or Authentication: Some resources might require authentication or specific permissions that prevent crawlers from accessing them.
2. Why It's Important
Blocked resources can have several implications on SEO:
- Rendering Issues: If critical resources such as CSS or JavaScript are blocked, search engines might not render the page correctly, leading to an incomplete or incorrect understanding of the page's layout and content.
- User Experience: A page that doesn't render properly can negatively impact user experience, leading to higher bounce rates, lower engagement, and ultimately a decrease in rankings.
- Indexing Problems: If search engines cannot fully understand the content or structure of a page because resources are blocked, they might not index the page correctly, affecting its visibility in search results.
3. Best Practices to Prevent It
- Audit Resources Regularly: Use tools like Google Search Console or third-party SEO tools to identify blocked resources. Regular audits can help detect and resolve issues promptly.
- Coordinate with Third-Party Hosts: Communicate with the administrators of third-party resources to ensure they allow search engine crawlers.
- Self-Host Critical Resources: Whenever possible, host critical resources such as stylesheets and scripts on your own server to maintain control over access.
- Use Tools to Test Rendering: Use tools like Google’s Mobile-Friendly Test or URL Inspection Tool in Search Console to see how Googlebot renders your page and identify rendering issues.
- Check Robots.txt: Ensure that your own
robots.txt
file does not inadvertently block important resources. - Optimize for Performance: Use techniques such as lazy loading for images and asynchronous loading for scripts to improve loading times without blocking resources.
4. Examples of Good and Bad Cases
-
Good Case:
- A website uses a CDN to serve JavaScript libraries. The CDN has a properly configured
robots.txt
file and allows access to all necessary resources. The website verifies this setup regularly with tools like Google Search Console to ensure no resources are blocked.
- A website uses a CDN to serve JavaScript libraries. The CDN has a properly configured
-
Bad Case:
- A site relies on a third-party widget for essential functionality, such as a booking form. The third-party host has a restrictive
robots.txt
file that blocks Googlebot from accessing the CSS and JavaScript needed for the widget to function. As a result, the search engine sees a broken page, leading to a poor understanding of the page structure and content.
- A site relies on a third-party widget for essential functionality, such as a booking form. The third-party host has a restrictive
By understanding and addressing issues related to external blocked resources, website owners can ensure their pages are fully accessible to search engines, ultimately improving SEO performance and user experience.
Updated about 5 hours ago