Titles are wacky

  • Hi, we just migrated from ALL IN ONE SEO PACK to RankMath. So far, very impressed by the features. The only issue is that title tags aren’t cooperating. Three issues that I noticed so far:

    • For Pages, no separator or spaces are used (just crammed together).
    • For Categories, the same issue above, plus an extra site name appears.
    • When editing Categories, the text “Example Category” (instead of the actual Category) appears in the previw

    Under the title & meta settings, everything else looks correct. It’s set to %title% | %sitename% and the previews there all look perfect.

    Note that we’re also using the Enhanced Categories plugin, that makes Categories function exactly like Pages (+ a typical Category archive post loop).

    • This topic was modified 3 years, 2 months ago by Corey Northcutt. Reason: access
Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I have gone through a few of your pages and it looks like the meta titles are quite inconsistent in the way they are displayed. For instance, the homepage displays the title correctly according to the settings that you have set on the Titles & Meta page.
    Is it possible that you have some additional settings that are overriding the titles on each page via the Rank Math settings metabox?

    If this is not the case, would you mind sharing some temporary admin access via the sensitive data section so that I can check this for you?

    Looking forward to helping you. Thank you.


    Thanks — added admin info to the private section.

    I don’t see any extra plugin settings lingering. Could maybe be out wp_title() is done in the template files?

    The homepage is actually screwy, too. That one does show a divider but mashes an extra, different site name from I’m not sure where together.

    Hello Corey,

    Seems like the account has very limited access:
    limited access

    We cannot access any option to check where this issue might be coming from.

    Can you please update the permissions?

    Whoops, should be fixed now.

    Hi there,

    Thanks for the access.

    It looks like you have some code on your header.php file that is modifying the titles and adding the blog name, here is the code:

    	 * Print the <title> tag based on what is being viewed.
    	global $page, $paged;
    	wp_title( '|', true, 'right' );
    	// Add the blog name.
    	//bloginfo( 'name' );
    	// Add the blog description for the home/front page.
    	$site_description = get_bloginfo( 'description', 'display' );
    	if ( $site_description && ( is_home() || is_front_page() ) )
    		echo " | $site_description";
    	// Add a page number if necessary:
    	if ( $paged >= 2 || $page >= 2 )
    		echo ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) );

    At the moment, I have enabled the “Rewrite post titles” option that is found in RM > Title & Meta > Global Meta as seen below:

    I hope this information helps.

    Thanks… that’s… very slightly better?

    (Enhanced) Categories: now appear perfect.
    Category editing: still show “Example Category” in the previews.
    Homepage: Shows a different and wrong sitename? (Just “Northcutt” and not “Northcutt: Cloud & Ecommerce SEO”… I don’t see where it’s getting that)
    Pages: Now show no sitename at all.

    Based on your reply, should we maybe try a different variable/function for the title tag template?

    Hi Corey,

    Thanks for getting back to me.

    There were some hard-coded titles on the homepage that were overriding the global settings. I have set the following variable for the homepage: “your_custom_title | %sitename%”
    I have also modified the variables on the category page to match the category name.

    Please check this out and let me know if they are correct.

    Thanks for taking a look.

    Categories are still good.
    Homepage is good now.
    Categories no longer preview as “Example Category”.

    Pages still show no sitename.

    Hi there,

    Thanks for the follow up.

    You have some custom titles on each of your pages that are overriding the global settings. To fix this, please edit each of your pages and add the %sitename% variable by heading over to the Rank Math metabox > General > Edit snippet and add this variable after the custom title as shown below:

    I hope this info helps.

    I see what you mean now, thanks.

    Probably worth taking a look at the AIOSEOP importer, because that’s definitely not how we were managing them before. But simple enough to run through all the pages and resolve now.


    We are super happy that all the issues are now resolved. I will pass on your feedback to our dev team so that we can dig deeper into the importer issue.
    If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/?filter=5#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 11 replies - 1 through 11 (of 11 total)

The ticket ‘Titles are wacky’ is closed to new replies.