Support » Plugin: Clone » Import replaces percent signs (%) with gobbledygook

  • When you run an import, the plugin appears to replace any percent signs (%) in the database with a long string of numbers and letters. This messes up custom permalink patterns and any styles in the database that use percent values.

    For example, the custom permalink structure of ‘/%category%/%postname%/’ is changed to:

    /{498fc46641b1099897541f841c9949704e58683c300e27a37f05c021462d4617}category{498fc46641b1099897541f841c9949704e58683c300e27a37f05c021462d4617}/{498fc46641b1099897541f841c9949704e58683c300e27a37f05c021462d4617}postname{498fc46641b1099897541f841c9949704e58683c300e27a37f05c021462d4617}/

    Lovely, isn’t it? The permalinks can be easily fixed in the settings, and styles are easy enough to fix after you find them. But it’s pretty annoying.

    • This topic was modified 2 years, 4 months ago by bhammondCVL. Reason: fixed typo
Viewing 4 replies - 1 through 4 (of 4 total)
  • I experienced the same issue: any percent signs (%) anywhere on the site is replaced by a long string.
    Could you provide a fix?

    Thanks

    Unfortunately, my PHP skills are rudimentary, so I don’t have a fix for the plugin itself. But I have been able to work around this defect by preparing for it before I move a site. Aside from the permalinks, percent values in styles are the only thing likely to be corrupted by the plugin glitch. So simply copy any CSS from the Customizer or anywhere else that they might be stored in the database into your theme’s style.css before you clone the site.

    After the cloning process is done, you will still have to go back and fix any custom permalink structure, but that’s pretty easy.

    You can check my fix of this plugin here: https://github.com/sholex/wp-clone-by-wp-academy. I’ve tested it on my demo site and wp 4.9.8, it seems to be OK.

    I also want to report the same. My site has lots of non-English characters in slugs. Those are replaced by long random strings when cloning. Please fix the issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Import replaces percent signs (%) with gobbledygook’ is closed to new replies.