Keeping OG URLs when changing site domain
-
For various reasons we are changing the domain of my wife’s blog. However, She has several posts with 10s of thousands of FB likes. We’d obviously like to keep that OpenGraph data connected to the content as it moves.
I believe the only way to do this is to make the “og:url” meta tag have the old domain for old content, and the new domain for new content.
If I buy the pro version, is this something I could do? Ideally, I’d want a simple option to specify a non-default domain for all content with a publish date prior to a given date (the domain cut-over date).
Barring that, I’d be OK with being able to manually add/update records to the database or a text file to add overrides for the old posts, as it will be a fixed set.
Barring that, if I have no other options, I’ll weigh doing it by hand for 250 posts vs. learning a new language and tool set, and writing a post-processing plugin to do it myself.
- The topic ‘Keeping OG URLs when changing site domain’ is closed to new replies.