Change Title in Facebook
-
Hello. I encountered a problem that when you share a site link on Facebook, the site name is added to the main title of the article (Title). This is sometimes witty, but I would like to control this process and, when necessary, adjust it at my own discretion. By default, I would just like to see the Title (as I have it set on almost all pages of the site), and when necessary – I can, as I understood, edit the appearance on the Social tab inside the page itself.
But the fact is that even there, editing does not change anything. I added 2023 (year variable) but Facebook doesn’t show it. Maybe there’s a heavier setting somewhere that wastes everything in that direction.
I also used the search for my problem and found a case here on the forum (https://www.ads-software.com/support/topic/how-to-change-facebook-ogtitle-tag-in-rank-maths/) where you advised to use a hook. I did all this (https://rankmath.com/kb/filters-hooks-api-developer/#opengraph) as the article says, but I don’t understand any of these hooks.
Well, I added the file, but what to do with it next? What kind of filter is that? What is he doing? I don’t see any changes on the website, and the Title on Facebook also has the name of the site. I don’t know programming well enough to understand this, so I’m asking, in simple words, what should I do.
All I want is to be able to share the posts on Facebook in such a way that I have only what I want to see there in the title – by default only Title. I want it to not have Title + Site name by default, just Title.
I ask you to explain everything in such a way that it is clear well, I am not a programmer and I need more explanations about some subtle settings (like hooks or something like that).
thank you
I am using the Uncode theme. Here is an example page link
https://ua.zahnybida.blog/pysmo/photoistoriya/svidomo.html
(I added 2023 to the Facebook title on the tab here, but Title + Site name is still there)
The page I need help with: [log in to see the link]
- The topic ‘Change Title in Facebook’ is closed to new replies.