Disable Features

Some features in Slim SEO like auto redirection are opinionated. We tried to automate all the SEO works without your touch, but sometimes it’s too much. So, you might want to disable some features that you don’t like.

To disable features, please go to Settings > Slim SEO, select tab General and you can deselect the features you don’t want:

Select the SEO features you want to enable/disable

Alternatively, you can disable the features by adding the following code into your theme’s functions.php file:

add_action( 'slim_seo_init', function( $plugin ) { $plugin->disable( 'auto_redirection' ); $plugin->disable( 'cleaner' ); } );
Code language: PHP (php)

Each feature has an unique identifier. You need to pass that identifier into the disable method of the plugin object.

These are the list of features that you can disable:

IdentifierFeature
meta_titleMeta title
meta_descriptionMeta description
meta_robotsMeta robots
open_graphOpen Graph
twitter_cardsTwitter Cards
canonical_urlCanonical URL
rel_links“rel” links
settings_postMeta box settings for posts
settings_termMeta box settings for terms
sitemapsSitemap
images_altImage alt text
breadcrumbsBreadcrumbs
settingsPlugin settings page
notificationPlugin notification
auto_redirectionAuto redirection
feedRSS Feed
cleanerHeader cleaner
schemaSchema
codeHeader / footer code

You can also disable integrations with other plugins if you want. Slim SEO automatically detects and only enable the integrations if these plugins are active.

IdentifierFeature
ampAMP
woocommerceWooCommerce
beaver_builderBeaver Builder
elementorElementor
jetpackJetpack
genesisGenesis
oxygenOxygen builder
lifterlmsLifterLMS
polylangPolylang
webstoriesWebStories
wpmlWPML

Please note that some features require other features to be active. For example: the schema feature requires breadcrumbs. So, when disable a feature, make sure to disable all dependent features.

Learn more about the features’ dependencies in the plugin source code.