AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

Keeps Getting Appended

2 Posts
2 Users
0 Reactions
140 Views
Roel Developer
Posts: 39
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@roel-developer)
Trusted Member
Joined: 2 years ago
[#72614]

Hi, my site have different custom post types (via ACF) and of course forum. I am using Yoast SEO.

The problem is the -  " - Table Tennis Forum" keeps getting appended to non-forum related post 

For example: In a custom post type called Player. I set the following:

Title: Wang Chuqin
SEO Title: Wang Chuqin

However when it shows in google searches it would like this

Wang Chuqin - Table Tennis Forum

This has been a problem for months.

I added this code so that whatever the I set as title of the page will exactly reflect in google searches but its not working:

add_filter('document_title_parts', function ($title) {
unset($title['site']);
unset($title['tagline']);
return $title;
}, 999);


Topic Tags
1 Reply
Robert
Posts: 10736
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 2 months ago

Hi @roel-developer,

Please share some existing URLs so we could check them.


Reply
Share: