Setting the SEO Title and Description Format for Media Attachments

Did you know that All in One SEO can automatically generate SEO titles and descriptions for your Media Attachments?

Media Attachments are special pages that are created for each image you upload to your site, so this can be useful if you have lots of images and use Media Attachments.

For most people, Media Attachments should not be listed in search results because they have no value or relevancy to the terms you want to be listed for. We have an in-depth article about Media Attachments here.

If you are using Media Attachments and want to automatically generate SEO titles and descriptions, then this article will help you with easy-to-follow steps.

Tutorial Video

Setting the SEO for Media Attachments

To get started, click on Search Appearance in the All in One SEO menu and then click on the Media tab.

Search Appearance in the All in One SEO menu

You should see a setting for Redirect Attachment URLs to the Attachment Itself. Set this to Disabled if you want Media Attachments to appear in search results. You can read more about this setting here.

Redirect Attachment URLs to the Attachment Itself on the Media tab of Search Appearance

You should now see the PreviewMedia Title and Meta Description settings.

Media Attachment settings under Search Appearance

The Preview shows an example of how your Media Attachments may look in search results based on the Media Title and Meta Description formats you set.

Setting the Media Attachment SEO Title Format

To set the SEO title format that will be used to automatically generate SEO titles for your Media Attachments, click on one of our smart tags shown above the Media Title field.

Adding a smart tag to the Media Title field

You can also type the hash character ( # ) in the field to display a list of available tags you can choose from.

You can also enter text in the Media Title field or combine text with the smart tags and there’s an emoji picker where you can add an emoji.

Whatever you set in the Media Title will apply to all your Media Attachments. However, you can override this in the Edit Media screen where you’ll see a Media Title field in the AIOSEO Settings section.

Setting the Media Attachment SEO Description Format

You can set the SEO description format that will be used to automatically generate SEO descriptions for your pages by using the Meta Description field.

This field works in the same way as the Media Title field. You can select from one of the smart tags displayed above the field, or type the hash character ( # ) in the field to display a list of available tags you can choose from.

Meta Description field in Home Page Settings

You can also enter text in the field or combine text with smart tags and there’s an emoji picker where you can add an emoji.

Whatever you set in the Meta Description will apply to all your Media Attachments. However, you can override this in the Edit Media screen where you’ll see a Meta Description field in the AIOSEO Settings section.

That’s all! You’ve now set the SEO title and description formats for your Media Attachments.

The documentation for Media Title Format can be found in our Content Type Settings document here.