Skip to content
University of
Your cartAdd courses
Your cart is emptyAdd a course to start learning SEO.
Join free
Scenario labs: WordPress SEO Attachment pages: stop thin media pages from being indexed: image and alt text illustration

Attachment pages: stop thin media pages from being indexed

Intermediate About 20 min of work Worth 150 points 64 coins to play

Every uploaded photo has its own indexed page with nothing on it but the photo. Redirect attachment pages and link the gallery to the image files.

Create a free account to start this lab

You get your own copy of the practice site, a code editor, checks against real crawler rules and a simulated search result.

What you will fix

Frame Studio is a photo studio in Lahore. WordPress gives every uploaded image its own "attachment page", such as /our-new-studio-is-open/studio-front/, with only the photo on it. On this site they are indexed, listed in the sitemap, and the gallery in the post links to them.

Goals

  1. Attachment pages redirect to their post.
  2. No attachment page is in the sitemap.
  3. Gallery links point straight to the image files.

The lab checks each goal for you. Hints lower the points a lab is worth, and showing the full solution makes it worth 0.

Ready to try it?