PMG Digital Made for Humans

Three Simple Tips for SEO'ing WordPress Post Images

2 MINUTE READ | March 12, 2012

Three Simple Tips for SEO'ing WordPress Post Images

Author's headshot

Christopher Davis

Christopher Davis has written this article. More details coming soon.

Here at PMG we try to blog a lot. Not everyone in the room is a SEO, so when we go back and review blog posts before posting them one of the things that often gets done is optimizing images.

Here are three simple tips to make sure your WordPress post images are optimized.

Image search can drive some website traffic. One of the factors that go into an image ranking in image search is its file name. Choose a descriptive file name, not one that only has meaning to you. wordpress-thickbox-uploader.png is better than blogpost-1.png, for instance. I prefer separating words in file names with dashes rather than using underscores or camel case.

WordPress Thickbox Image Uploader

When you upload an image to WordPress, it actually get stored as a “post”. That is, images and other media have their own post type called attachment. This stores the alt and title attributes as well as the location of uploaded image and its alternate size file names. The attachment post type also gives you also sorts of handy functionality. wp_get_attachment_image_src the built in gallery shortcode are two examples.

When you use the alt and title attributes in the uploader, you can easily get those values dynamically on the PHP side of things. WordPress will also take care of adding them to your image when you hit “Insert into Post” as well. It’s also good SEO practice to at least include the alt attribute, of course.

WordPress Image Uploader Alt & Title Fields

Alts/titles are also pulled in for post thumbnails and the gallery automatically. Here’s the gallery for this post…

WordPress Thickbox Image Uploader

Look at that nice file name.

WordPress Image Uploader Alt & Title Fields

Please use these.

WordPress Thickbox Uploader Image Link

Choose wisely.

I generally dislike two WordPress core features: tags and attachment pages. Attachment pages are usually worthless pages that get linked to on accident by unsuspecting users. That’s not to say that attachment pages can’t be awesome. Just take a look at Matt’s attachment pages. For the average WordPress user all they do is create a bunch of, in SEO terms, low quality pages on a site.

So before hitting “Insert into Post”, chose to link to nothing or to the image file itself.

Stay in touch

Bringing news to you

Subscribe to our newsletter

By clicking and subscribing, you agree to our Terms of Service and Privacy Policy


Related Content

thumbnail image

Consumer Trends

The Road to Recovery for the Travel Industry

5 MINUTES READ | November 19, 2020

thumbnail image

EMEA Search Trends Amid COVID-19

8 MINUTES READ | April 28, 2020

thumbnail image

How To Boost SEO During The COVID-19 Crisis

1 MINUTE READ | April 17, 2020

thumbnail image

Impact to SEO During COVID-19

1 MINUTE READ | April 16, 2020

thumbnail image

Jason White On Agents of Change

1 MINUTE READ | December 9, 2019

thumbnail image

Takeaways from Yext’s Onward19 Conference

4 MINUTES READ | November 5, 2019

ALL POSTS