Support » Plugin: Multisite Cloner » https fails cloner_db_replacer

  • Resolved brnnrc

    (@brnnrc)


    Hi,
    If your site is on https, $old_url and $new_url begin with “https://”.
    So, cloner_db_replacer can’t replace db entries (“http://.*”).

    Adding

    $old_url=str_replace("https","http",$old_url);
    $new_url=str_replace("https","http",$new_url);

    before

    cloner_db_replacer( array($old_url,$old_uploads), array($new_url,$new_uploads), $new_tables);

    call, resolve the issue.

    Bye
    Enrico

    https://wordpress.org/plugins/multisite-cloner/

Viewing 1 replies (of 1 total)
  • Plugin Author Patricio T

    (@pmtarantino)

    Hi Enrico,

    Yes, we should solve this to add support to https.

    Thanks for the suggestion, we will use it in the future version!

Viewing 1 replies (of 1 total)
  • The topic ‘https fails cloner_db_replacer’ is closed to new replies.