Import/Export issue
-
Hi. I have a problems with importing of settings.
I go to SEO -> Tools -> Export Settings, and get the archive.
I’m uploading the archive, but recipient site says, that
Settings could not be imported: No settings found in file.
I researched this issue, and found that removing INI_SCANNER_RAW directive from wp-content/plugins/wordpress-seo/admin/import/class-import-settings.php:153 solves it.
But it’s bad practice. I’ve tried to check data, and found, that INI file contains next rows:
rssbefore = "%%BLOGLINK%%^M %%POSTLINK%%" rssafter = "%%BLOGLINK%%^M %%AUTHORLINK%%"
i.e. line returns are present in the values of parameters.
I didn’t find any WP filters or hooks in your code, for fixing it myself. And now I have to unpack ZIP-archive and modify INI-file manually, for being able to use it.
May you solve it?
I use WP 5.0.2 and YoastSEO 9.0.3
- The topic ‘Import/Export issue’ is closed to new replies.