Skip to content
Nazmul Nikhil
Menu

Resources Are Formatted as Page Link (Semrush): Link Files Properly

Semrush notices links that use a normal page link to point at images, CSS or JS files. Here's why it happens and when it's worth changing.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 1 min read
Resources Are Formatted as Page Link (Semrush): Link Files Properly
Photo: Emile Perron on Unsplash

In short

Semrush notices "Resources are formatted as page link" when an <a href> link points to a resource such as an image, CSS or JavaScript file, rather than a page. Crawlers expect page links to lead to pages. The common case is a gallery or blog image that links to the full-size JPG. It's low priority; change it where a page link makes more sense.

This notice is mostly about image links that open the raw file instead of a page.

Typical causes and fixes

Cause Fix
Image block set to "link to media file" Set to no link, or use a lightbox
Gallery thumbnails opening the original file Use a lightbox plugin or link to an attachment page you want indexed
Text link to a CSS or JS file Remove; it's rarely intended

WordPress: in an Image block, choose Link > None; in galleries, set "Link to" to none or use a lightbox. Shopify, Webflow and Wix: check image link settings in the editor.

Links to PDFs and other downloads are normal and fine.

This guide isn't affiliated with or endorsed by Semrush.

Sources and references

TAGSSemrush Site AuditSemrush resources are formatted as page linkLink to image fileA href image
Nazmul Nikhil

About the author

Nazmul Nikhil

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.

Need help with this?

Get it fixed with Technical SEO

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Site Audit Issues posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com