• After the last update, the “|” separator I needed disappeared in the “Display in search results” settings. Return the separator “|”. I am not satisfied with dashes, hyphens and dots!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Same. I am so annoyed because now a bunch of my websites that were using the pipe as the separator and they have all been automatically changed to using the default dash.

    I am currently remedying this with this code snippet (placed in your theme’s functions.php file), as it puts the “|” back into the list of options to choose from courtesy of Yoast SEO’s documentation. It’s still annoying because I have a bunch of websites that use this and now I have to manually update all of them.

    /**
     * Return Pipe to Yoast SEO Title Separators
     * 
     * Adds the Pipe (|) character to the List of title separators in 
     * Yoast SEO that was removed in version 17.1. 
     * 
     * @param array $separator_options Yoast's list of separators
     * @return array Modified list of separators
     */
    function tw_wpseo_separator_options( $separator_options ) {
        $custom_options = array('|');	
        if( is_array($separator_options) ) { $separator_options = array_merge( $separator_options, $custom_options ); }
        else { $separator_options = $custom_options; }
        return $separator_options;
    }
    add_filter( 'wpseo_separator_options', 'tw_wpseo_separator_options', 10, 1 );
    • This reply was modified 3 years, 2 months ago by Tessa Watkins.

    Hi @jackson1979 and @tessachu,

    Thanks for your comments.

    We understand that you’d like to keep using the | as title separator. We’ve removed the | and ~ from the title separator settings in Yoast SEO v17.1 because Google seems to change these to — in the SERP titles actively. If you want, you can pick another separator.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The separator I need is missing!’ is closed to new replies.