Social Sharing and Total CMS


(Garth Poon) #1

Hi, I know that Total CMS is supposed to automatically generate meta tags for social sharing…however, when my client shares a blog post, the FB preview shows his logo and some generic sidebar text instead of the text and image from his blog post.

Example post: https://whatsyourspark.ca/blog/post.php?permalink=storytelling-and-community

Screenshot: 33%20AM

Any idea what I’m doing wrong? @zeebe @joeworkman


(Joe Workman) #2

Do you have meta tags enabled in the Blog Post stack?


(Garth Poon) #3

Yes, I’ve got it enabled 04%20AM


(Joe Workman) #4

You do not have your blog post URL setup properly. It looks like its setup for pretty URLs but pretty URLs do not work.


(Garth Poon) #5

Hi Joe, yes, I’ve been having problems getting pretty URL’s to work. It worked fine on other TCMS sites, but it hasn’t been working recently. I’ve added the htaccess rules and I’ve selected “Pretty” for the Post URL setting.

23%20AM


(Joe Workman) #6

If it is not working, then you need to turn it off. Then preview that page and resubmit the blog post URL.


(Garth Poon) #7

Ok, thanks Joe. But shouldn’t the meta tags work with or without pretty URL’s? Even if I don’t get the pretty URL’s working, I’d like the social previews to reflect the content in the blog post.


(scott williams) #8

I can tell you for a fact that it does work automatically from TotalCms

You can use facebooks developer tools to see what is going on and to force a red tape.

https://developers.facebook.com/tools/debug/sharing/


(Joe Workman) #9

A lot of behind the scenes things happen with you set this URL: RSS Feeds, SEO Tags, etc. All of these rely on getting the blog post url set properly.


(Garth Poon) #10

Ok, it looks like turning off pretty URL’s and removing the htaccess rules worked…when I share a blog post from his blog, FB is detecting the open graph tags. Joe, is this support article still valid? https://docs.joeworkman.net/rapidweaver/stacks/cms/total-cms-blog/really-pretty-urls

I’ve followed those instructions but get inconsistent results (i.e. it works for some sites, and doesn’t work for others).


(Nic Miller) #11

Jumping in because I’m experiencing the same issue. I just debugged a few previously functional shareable blog posts on several sites and they no longer display post-specific metadata. Thoughts?


(scott williams) #12

Make sure you do not have RW’s SEO metadata functionality turned on for those TotalCms Blog Pages, it will cause double tags to be written and that will keep it from working.


(Nic Miller) #13

Brilliant — that was definitely it. I hadn’t even thought about checking that when switching my sites over to RW8. Much appreciated, Scott.

Nic