Capitalize Titles for a Post Override

#693232
  • Resolved Aditya Singh
    Rank Math free

    Hi,

    In my setting – Capitalize Titles is ENABLED and wanted to override this for few post.

    Right now Single Post Title – %title% %page% %sep% %sitename%

    Example for SEO – Title is = iPhone 16 but it is showing on google as IPhone 16 because of Capitalize Title.

    How can i override this for 1 post. so that it show iPhone 16

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    I apologize for the inconvenience you’re experiencing with the capitalization of your post titles. To override the Capitalize Titles setting for a specific post, you can do the following:

    1. Go to the post editor for the post you want to override the Capitalize Titles setting for.
    2. Scroll down to the Rank Math meta box.
    3. Click on the “Advanced” tab.
    4. In the “Title” field, enter the title exactly as you want it to appear, without capitalization.

    By doing this, you will be able to override the Capitalize Titles setting for that specific post, and it should display on Google as “iPhone 16” instead of “IPhone 16.”

    If you have any further questions or need additional assistance, please feel free to ask. Thank you for bringing this to our attention.

    Sources:
    Rank Math ‘Titles and Meta’ Options and Settings
    Bulk Editing Options in the Rank Math SEO Plugin
    General Tab in Meta Box of Rank Math SEO Plugin
    How to Enable Breadcrumbs on Your Website With Rank Math SEO » Rank Math

    I tried added in the meta box. But still it was showing on “I” in capital.

    Any update on the same?

    Hello,

    Please note that the option “Capitalize Titles” will be applied across the post type and we currently don’t have a way to exclude a specific post.

    In this case, you can apply a filter that will capitalize the title programmatically and exclude a specific post. Please refer to this filter code:

    add_filter( 'rank_math/frontend/title', function( $title ) {
    	global $post;
    	if($post->ID == 1){ /* Set post ID here */
    		return $title;
    	}
    
    	return ucwords($title);
    });

    You may refer to this guide on how to add filters to your website: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    After applying the filter code, you may disable the “Capitalize Titles” option in the settings.

    Let us know how that goes. Looking forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Capitalize Titles for a Post Override’ is closed to new replies.