title to readme

This commit is contained in:
sigpie 2024-05-05 20:04:16 +01:00
parent ddec6fead9
commit 54bce2be1d

View file

@ -1,7 +1,12 @@
### Decode Wp Database ###
Some functions for wordpress to correct wrong encoding while migrating a website. Some functions for wordpress to correct wrong encoding while migrating a website.
Require ACF field plugins Require ACF field plugins
Very manual process
Very manual process, initially I was just uploading and removing files from the mu-plugin folder to go from one step to another.
Then I added some $_GET request to launch process with manual url modifications
Used method to clean encoding of all the database after migration Used method to clean encoding of all the database after migration
* copy the database to the news server * copy the database to the news server
@ -10,4 +15,4 @@ Used method to clean encoding of all the database after migration
* go to admin panel and add to the url ?decode-init, refresh * go to admin panel and add to the url ?decode-init, refresh
* adjust decode-batch-posts.php with correct option : dry = true to start, with... * adjust decode-batch-posts.php with correct option : dry = true to start, with...
* then go to url yourwpsite.com/?decode-post, and refresh to pass all files * then go to url yourwpsite.com/?decode-post, and refresh to pass all files
* then repeat for the attachment ! * then repeat for the attachment !