• Hi all,

    I need some help on a client that I developed a while back. I had set up the website and everything for the client already. However, recently she wanted to switch her wordpress website, to “blog spot”.

    Instead of transferring domain name and what not, she accidentally went to settings in the admin page (wp-admin) to “general” and deleted the site URL or the WordPress URL (she cant recall which one).

    Doing that her website is still available, however, whenever she types in wp-admin it no longer lets her go to the log in page but instead it takes her directly to the “www.ads-software.com.

    Does anyone know or been in this situation. Please let me know, and thank you so much in advance.

Viewing 1 replies (of 1 total)
  • I have never been in that situation, but I would likely try this in functions.php:

    Select and edit one pair of lines or the other — no trailing slashes — then temporarily place a slash after /*toggle on/off* just above them to un-comment them and make them active.

    /*-either-*/
    /* tell database to recognize and use https://domain.com
    /** @ near top of theme functions.php /*toggle on/off*
    update_option('siteurl','https://domain.com');
    update_option('home','https://domain.com');
    /*-or-*/
    /* tell database to recognize and use https://www.domain.com
    /** @ near top of theme/functions.php /*toggle on/off*
    update_option('siteurl','https://www.domain.com');
    update_option('home','https://www.domain.com');
    /*-end-*/

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect site to new URL’ is closed to new replies.