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 http://domain.com
    /** @ near top of theme functions.php /*toggle on/off*
    update_option('siteurl','http://domain.com');
    update_option('home','http://domain.com');
    /*-or-*/
    /* tell database to recognize and use http://www.domain.com
    /** @ near top of theme/functions.php /*toggle on/off*
    update_option('siteurl','http://www.domain.com');
    update_option('home','http://www.domain.com');
    /*-end-*/

Viewing 1 replies (of 1 total)

The topic ‘Redirect site to new URL’ is closed to new replies.