|
/ Documentation /Developers Documentation/ How to Remove Archive Prefixes from Titles Using SureRank

How to Remove Archive Prefixes from Titles Using SureRank

Hook: surerank_disable_automatic_titles

Description: This filter hook lets you remove the “Archive,” “Category,” and “Tag” prefixes from page titles. It’s helpful if you want complete control over your SEO titles. By using this hook, all default WordPress prefixes in the title are removed.

Source: inc/frontend/title.php

Usage: Disable automatic prefix generation in titles.

Example: Customizing

PHP
// Disable SureRank's automatic title generation for better manual or theme-based control.
add_filter( 'surerank_disable_automatic_titles', '__return_true' );

You can add the example code to your child theme’s functions.php file or use a plugin like Code Snippets to safely insert custom code. Using a code snippet plugin is recommended for easier management and to ensure the code remains active even if you switch themes.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page
Scroll to Top