VNU M455 02 scaled 1

SEO for images on WordPress: best practices 2022

SEO is an essential process for any website. One of the best ways to optimize the content of a page is by using images.

WordPress is the most popular content management system in use today. It has a specific Media Uploader that is not only easy to use, but is also a useful search engine optimization tool.

Changes to image data used in WordPress media can be carried out safely without using plugins, although there are many useful ones to facilitate SEO optimization.

Uploading multimedia content such as images, videos, files and more is useful for any website not just for aesthetics. Adding multimedia content helps visitors better understand content, products or services and provides another way to find content through search engines.

Custom fields on the Media Uploader

Included in WordPress media are custom fields such as title, size, alt text, description and more in which you can include relevant information that also make the media more accessible to SEO. This is the easiest way to enhance your multimedia content.

These custom fields store information and bind the uploaded media to the entered information, creating a connection between the two. When search engines are scanning this media, they detect the data entered, the media, or both, which in turn makes the media more searchable.

WordPress users have the option of leaving these fields blank, as they are not required to upload media, but are guaranteed ways for data to be grabbed by search engines, especially through media searches. In this way, visitors can find content through search engine link searches, image searches, or video searches based on the information data provided in the custom fields.

  • URL – the URL is the direct link to where the selected image will be stored on your website. The URL cannot be changed once the image is entered or the image will no longer be stored there and will disappear.
  • Title – The title is the name you decide to give the image itself and can be changed.
  • Caption – Enter a short caption that will be visible directly below the inserted image. This is a good place to put sources and credits for images.
  • Alternate text – alternate text, or alternative text, is the text displayed on the Web page if the page loads images slowly or with delay. The text will also be visible to anyone with any kind of screen reader or assistive technology.
  • Description – The description is where you can talk about what the image is or why it was chosen. The description box is optional, and if you choose to link the image to an attachment page, this is the text that will appear with the image.

All of these options are opportunities for your media to rank and be searchable in search engines, as well as tie the media directly to your content so that the content also comes up as part of the search.

Multimedia settings

In addition to custom fields, the display of attachments is also important for WordPress SEO. The attachment view is displayed at the bottom of the image editor for the selected image. This explains how the image will appear on the web page, including its size, whether it links to another page, and where on the page it will be centered.

  • Attachment page- The attachment page links the inserted image to its WordPress media attachment page, or where the image will be linked when clicked by a visitor to your website.
  • Media file-this option links the image directly to the original version of the uploaded file.
  • Custom URL-You can set a custom URL for opening the image when it is linked by a visitor, which is different from the URL linked in the attachment details.
  • None– Using this section completely removes the link from the image, so visitors cannot click on it and simply turns it into an image on a page.

All of these options are important for search engine optimization because images and media can be searched by size (small, medium, large, or icon size) and by individual pixel size. Additional search filters include how the images were recently published, the type of media published, and the time the media was published.

Once the image settings are complete click the blue “Insert” button to place the image on the web page. Once the image appears on the web page where you specified it, you can save the page and the data you entered can be searched by search engines.

File size

Another good way to improve your SEO is to use smaller images. When images are loaded for too long, it can annoy people and they leave the site. Smaller images load faster and people stay on the site longer-it helps Google rank that site higher. To reduce the file size of images, you can use online services to compress images such as TinyPNG or ShortPixel. These services can optimize images without loss.


Having any kind of media on your WordPress website is important. Images, videos, animations, etc., all offer an extra opportunity for your content to be found in a search engine.

Custom fields within each media post represent other opportunities for your content to appear in search engines because the data collected from these custom fields are included in search engine algorithms.

If you liked the article please visit our blog and stay updated on the latest trends in the world of digital marketing!