Blocked External Resource in Robots.txt

I am getting an error that states “issues with blocked external resources in robots.txt.” in SEMRush

The resource URL that is causing it is: https://platform.linkedin/com/in.js.

It is occurring on every blog page for the www.strouse.com blog, but it is not occurring on any of my main pages. They use the same CSS and similar layouts for the most part. I am having difficulty figuring out where it is occurring.

@dchambers ,

Let me check this out. Will keep you update once done

Thanks

Ramesh

Krishang Technolab

Hi

Any update?

Thank you

Salvador

amara-marketing.com

I come across a related issue recently.
Solved it by going to HubSpot settings → Website → Blog → Select the Blog to modify → Social Sharing → Uncheck the Social Sharing Buttons.
This should stop the LinkedIn script from being added.

But that removes the LinkedIn sharing icon for the blog. Is there any way to keep the sharing icon without causing this error?

When dealing with blocked external resources in robots.txt, it’s crucial to ensure that essential scripts, stylesheets, and media files are accessible for proper indexing and rendering by search engines.

:small_blue_diamond: Steps to Resolve:
:check_mark: Identify blocked resources using Google Search Console (Coverage & URL Inspection Tool).
:check_mark: Modify your robots.txt file to allow critical resources by removing restrictive Disallow directives.
:check_mark: Use Allow rules for necessary paths, such as:

User-agent: * Allow: /wp-content/uploads/

:check_mark: Test the updated robots.txt file using Google’s Robots Testing Tool.

For businesses managing content-heavy websites, investing in custom cms development services ensures flexibility, SEO optimization, and seamless content management tailored to specific needs. :rocket: