Broken WordPress standards
WordPress themes have final control of the title. Quite often, some theme authors opted in for "pretty" titles, rather than semantic titles.
This created various issues.
Firstly, titles shouldn't be pretty; they should be unique. This is a fundamental part of SEO as it creates distinction. Secondly, the way WordPress used to handle titles was vague at best. This prevents plugins, among The SEO Framework, from altering the title correctly.
To prevent these issues from happening, new WordPress themes in the WordPress.org repository must follow a newer standard.
Not all themes have been updated accordingly, and the Title Fix extension will solve that for you.
Is this extension for you?
If you notice your page titles aren't what you set it to be, then yes.
Otherwise, this extension won't have any effect.
How it works
The SEO Framework can detect incorrect usage of the title output. It tries to resolve this automatically, but sometimes that isn't enough.
When The SEO Framework detects incorrect usage, it will set up a flag. This extension looks for this flag before it operates.
When the flag is found, this extension will look for the title tag in the source. When found, it will overwrite the title tag with a correct version.
All this happens before it's being sent to the page visitor or crawler in less than 2 miliseconds.
This software package is bundled with the Extension Manager.
Activate Title Fix
All you'll need to do is activate the Title Fix extension.
There is no setup required and no options are available.
Still not fixed?
In unlikely occassions, the wrong title detection flag might not be set up.
To force a fix of the title, add the following filter to your theme's
add_filter( 'the_seo_framework_force_title_fix', '__return_true' );
Release date: TBA
- Removed: filter
- In preparation for TSF 3.1.
- This was added to add multisite support for the plugin, but this now an extension.
- Improved: Removed redundant UTF-8 check.
- Improved: The extension now enqueues fewer actions when the title is fixed early.
- Improved: The extension also enqueues fewer WordPress actions overall. Which reduces memory usage marginally.
- Fixed: The SEO Framework can now recognize this extension's presence, re-enabling otherwise disabled features.
- Initial extension release.
- This extension used to be a WordPress plugin.