ethercreative/seo

Duplicate Page never updates title in SEO Hook (FB & Twitter Meta info)

Closed this issue · 6 comments

Description

When you duplicate a page, the duplicate page inherits the original title and doesn't seem to update when you change the title or edit the SEO settings. I use the default {% hook 'seo' %} in my template.

Steps to reproduce

  1. Duplicate a page
  2. Edit that page title and check the meta settings for FB title and Twitter
  3. You can see the issue on this page's source code where I duplicated a previous page. The <title> updates, but not the FB/Twitter Meta.
    https://www.awarerecoverycare.com/addiction-epidemic/first-responders

Additional info

  • Craft version: 3.6.13
  • SEO version: Latest

Screen Shot 2021-05-05 at 2 12 37 PM

You can see in the database table it still has the old title. Not sure how to update this besides updating the database itself.

@gbaumbach What is the field showing on your entry, out of interest?

First Responders as pictured here:
Screen Shot 2021-05-05 at 2 33 06 PM

@gbaumbach Social meta isn't tokenised the same way as the primary meta values, so you'll need to tweak those manually. I notice the Social tab is missing from your screenshot, so you'll want to go to that field's settings and disable the hiding, so you can adjust those values.

Screenshot 2021-05-06 at 05 52 24

Gotcha, that did the trick. Thank you!

Cool – glad i could help!