Setting the SEO for WooCommerce Product Attributes

Whether you're a seasoned WooCommerce professional or just starting to build your online store, optimizing your products for search engines is essential to driving traffic and boosting sales.

Here, we’ll show you how to use All in One SEO to enhance your variable products—those items with different attributes such as sizes, colors, etc.

What is a Product Attribute?

Before diving in, let’s break down an important concept: product attributes.

In WooCommerce, product attributes are the different variations for a product.

A good example is t-shirts.

These can have product attributes for Color with values like Red, Blue, and Green. They can also have product attributes for Size with values like Small, Medium, and Large.

These attributes can be combined into product variations such as small green t-shirt, medium green t-shirt, small blue t-shirt, medium blue t-shirt.

Customers select exactly the variation they want to purchase, and search engines will understand the specifics of your product.

When you want to create a variable product in WooCommerce, you first create the product attributes and then use these to create the product variations.

For more details on WooCommerce product attributes and variable products, check out the links to their documentation below:

For the purposes of how this content is treated by WordPress and All in One SEO, a product attribute is a taxonomy, just like product categories and tags.

Now that we have the basics, we can look at how to control the SEO for your product attributes.

Controlling SEO for Product Attributes

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

Search Appearance in the All in One SEO menu

Scroll down and you should see sections for each of your taxonomies. If you have added any product attributes in WooCommerce, then you'll see a section for Product Attributes.

Product Attributes settings under Search Appearance

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

Setting the SEO Title Format

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

Adding a smart tag to the Product Attribute Title field

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

Typing the hash symbol displays a list of available tags to choose from

You can also enter text in the 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 Title will apply to all your Product Attributes. However, you can override this by going to Products > Attributes in WooCommerce and clicking on the Attribute to see a list of the Attribute Terms.

You can then click on the Attribute Term and scroll down to the AIOSEO Settings section, where you'll see a Title field shown below.

AIOSEO Settings section on the Edit Attribute screen for a WooCommerce Product Attribute

Setting the SEO Description Format

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

This field works in the same way as the 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.

Setting the meta description for a Product Attribute

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 Product Attributes. However, you can override this by going to Products > Attributes in WooCommerce and clicking on the Attribute to see a list of the Attribute Terms.

You can then click on the Attribute Term and scroll down to the AIOSEO Settings section, where you'll see a Meta Description field shown below.

AIOSEO Settings section on the Edit Attribute screen for a WooCommerce Product Attribute

That’s all! You’ve now set the SEO title and description formats for your WooCommerce Product Attributes.