Skip to main content

Indexables: Technical specification

Introduction

We created indexables for all the indexable objects on your site. All the URLs that a search engine can see. Because of how WordPress stores content, most of those will be "posts" (pages are considered "posts" in WordPress' data model too). Hence, the majority of Indexables on most sites will be posts.

We create some special indexables for things that could otherwise too easily clog up the database. This is specifically true for date archives and system pages (search results, 404s). They get one indexable each, that stores our title templates for them so we can use those on the frontend.

Which "things" get an indexable?

Posts

There are quite a few different types of using posts within WordPress. Only those that are publicly viewable should be considered indexable objects. Of course a post has to exist to be a valid Indexable object.

Yes
No
Yes
No
Yes
No
Yes
Yes
No
No
No
Yes
No
No
Yes
No
Yes
Yes
Post
Post type registered?
Post type excluded
through filter?
Do not create an indexable
Post type force included
through filter?
Is the
post type public?
Is the post
type attachment?
Are attachment URLs
disabled
in Yoast SEO?
Post status registered?
Is the post
status public?
Post status one of:
draft, pending, future?
Create an indexable

Post type archives

A post type archive will only have an indexable when the post type it's registered for is public.

Yes
No
Yes
No
Post type archive
Post type registered?
Is the
post type public?
Do not create an indexable
Create an indexable

Terms

A term has to be part of a registered, public taxonomy to be an indexable object.

Yes
No
Yes
No
Yes
No
Yes
No
Term
Taxonomy registered?
Is the taxonomy
excluded through filter?
Do not create an indexable
Is the
taxonomy public?
Is the
taxonomy one of:
post_format?
Create an indexable

Users

Only when a user has published posts that are public, do they get an author archive. At that point, they become an indexable object.

Yes
No
Yes
No
User
Are author archives
disabled in Yoast SEO?
Do not create an indexable
Does the user have
published, public posts?
Create an indexable