How-to and Troubleshooting
5
Posts
4
Users
0
Reactions
1,167
Views
Jun 10, 2019 4:03 am
How to change the SEO separator from "–" to something else?
4 Replies
Jun 10, 2019 10:54 am
Hi info100123,
I've already asked developers this question and I'm waiting for the response from them. I'll update the topic once I get some news for you.
Jun 10, 2019 11:25 am
You can do it with a code snippet in your theme functions file (or better yet run through the snippets plugin)
Change the "|" separator to the one you prefer.
add_filter( 'document_title_separator', 'wpf_document_title_separator' );
function wpf_document_title_separator( $sep ) {
$sep = "|";
return $sep;
}
Jun 10, 2019 1:46 pm
I would like to add here that the so-called "SEO" separator (-| or whatever) is an old SEO myth. There is no reason to do that.