Notifications
Clear all

wpForo 1.x.x [Closed] How to change the SEO separator from "–" to something else?

5 Posts
4 Users
0 Reactions
1,167 Views
Posts: 20
Topic starter
(@info100123)
Eminent Member
Joined: 6 years ago

How to change the SEO separator from "–" to something else?

4 Replies
Sofy
Posts: 4900
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

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.

VereK
Posts: 522
(@verek)
Honorable Member
Joined: 7 years ago

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;

}
1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 4900

Thank you @verek for sharing this code. 

 

Posts: 1602
(@anonymous20)
Noble Member
Joined: 9 years ago

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.