Le mercredi 31 juillet 2019 à 12:51 -0400, Paul Frields a écrit :
On Wed, Jul 31, 2019 at 11:50 AM Michael Scherer <mscherer@redhat.com
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@lists.fedoraproject.or...
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?
Not sure how different it is from the one in WPengine interface. I will check the documentation on that, as it seems that I do have enough access to add a staging and a dev environment.