On Wed, Jul 31, 2019 at 11:50 AM Michael Scherer <mscherer@xxxxxxxxxx> wrote: > > Le mercredi 31 juillet 2019 à 16:29 +0200, Michael Scherer a écrit : > > > > Issue 5: They link > > ================== > > > > Ryan Lerch did found today that among the post, there is some who are > > different, and that at least 1 post had wrong links: > > > > > > > https://lists.fedorahosted.org/archives/list/magazine@xxxxxxxxxxxxxxxxxxxxxxx/thread/2D44QAWFUFW6W3YWH7GBDLMHJFYITY7K/ > > > > > > Upon looking at the export file, the link was correct, but it seems > > that WP is fixing things on import, or something like that. I need to > > see if that's in the DB or a setting somewhere else. > > > > I suspect the domain name was different at the time of the migration, > > in the wordpress configuration, so it tried to make things correct. I > > guess we need to make sure the server is 100% correct before we > > import posts. or it could also be a caching issue, but we did reset > > the cache twice. > > > > I will see how many post are impacted with a sql query and fix stuff. > > So the bad news: "they are everywhere". > > The good news is that I got the right SQL syntax. But yeah, a lot of > the link got "fixed". In fact, there is even some who date back to the > time the blog was on openshift online v2. > > Theer is link for cards, but also internal links, like : > https://fedoramagazine.org/upcoming-features-in-fedora-31-workstation/ > > "deeply involved" is not using the right domain name. > > So while it can be changed with a SQL query, I am a bit unconfortable > doing a large scale sql modification without a stage instance for now. > I will try to do smaller change first, and see if I can at least find > the cards that got broken. This was a really good report -- thank you very much, Michael. Does https://fedoramagazine.org/wp-admin/admin.php?page=wpengine-staging help at all for the staging you need? -- Paul _______________________________________________ Fedora Magazine mailing list -- magazine@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to magazine-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/magazine@xxxxxxxxxxxxxxxxxxxxxxx