Solution: Teams after moving to another URL
-
Export online > offline or offline > online or to another domain:
Export data using WordPress Standard Export.
Search / replace in the export XML: “https://www.domain.de/”> “https://www.domain_neu.de/”
It’s about these lines, so the team photos:
“mb_photo”;s:69:”https://www.domain.de/wp-content/uploads/2019/11/vorname_nachname.jpg”add the characters the string is longer at “s:XX”, take a look at this example:
“mb_photo”;s:73:”https://www.domain_neu.de/wp-content/uploads/2019/11/vorname_nachname.jpg”Then add all occurrences and adjust at “s:3472” (between “<! [CDATA [” and “]]>” at the beginning).
If there are 10 team members, then (10 * 4) + 3472 = 3512!!! Create backup from (occurs once per team): wp_postmeta > wpsm_team_b_data > meta_value !!!
Then for each team: replace text between “<! [CDATA [” and “]]>” in database at wp_postmeta > wpsm_team_b_data > meta_value.deutsch:
L?sung: Teams nach einem Umzug zu einer anderen URL
Daten mit WordPress Standard-Export exportieren.
In der Export-XML suchen/ersetzen: “https://www.domain.de/” > “https://www.domain_neu.de/”
Es geht um diese Zeilen, also um die Teamfotos:
“mb_photo”;s:69:”https://www.domain.de/wp-content/uploads/2019/11/vorname_nachname.jpg”die Zeichen die der String l?nger ist, bei “s:XX” addieren; w?re in diesem Beispiel:
“mb_photo”;s:73:”https://www.domain_neu.de/wp-content/uploads/2019/11/vorname_nachname.jpg”Dann alle Vorkommen addieren und bei “s:3472” (zwischen “<![CDATA[” und “]]>” am Anfang) anpassen.
Wenn es 10 Teammitglieder gibt, dann (10 * 4) + 3472 = 3512!!! Backup erstellen von (kommt je Team einmal vor): wp_postmeta > wpsm_team_b_data > meta_value !!!
Dann für jedes Team: Text zwischen “<![CDATA[” und “]]>” in Datenbank bei wp_postmeta > wpsm_team_b_data > meta_value ersetzen.
- The topic ‘Solution: Teams after moving to another URL’ is closed to new replies.