Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: I copied my site and I need to restore it

Discussion in 'Misc WordPress Requests' started by yattas, Jan 17, 2018.

  1. yattas

    Guest

    Reply To: I copied my site and I need to restore it, by yattas

    FYI:
    I think that I don’t need to change the website URL
    I found these lines in wp-login.php
    —————————————————–
    $url = dirname( set_url_scheme( ‘http://’ . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘PHP_SELF’] ) );
    if ( $url != get_option( ‘siteurl’ ) )
    update_option( ‘siteurl’, $url );
    —————————————————–
    These lines will change the url dynamically.

    Reply To: I copied my site and I need to restore it
     
    #1

Share This Page

Monarch Social Sharing Plugin