WordPress.org

Support

Support » How-To and Troubleshooting » change function.php to change url and now I can't login

change function.php to change url and now I can't login

  • Hi there,
    I found some similar posts but not one that is exactly the same as my issue. I am following the edit function.php instructions in http://codex.wordpress.org/Changing_The_Site_URL

    I just change the function.php file under the theme to add
    update_option(‘siteurl’,’http://aboutyourtransition.com.au’);
    update_option(‘home’,’http://aboutyourtransition.com.au’);
    straight after the <?php

    Then i tried to login to
    aboutyourtransition.com.au/wp-admin and it came up with a

    Not Found
    The requested URL /wp-admin was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    I tried clearing my history then I remove the about line tried to login and still no joy. then i added the about line again and again still can’t login.

    I’m trying to remain calm 🙂

    Any help will be greatly appreciated!
    Cheers Karen

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘change function.php to change url and now I can't login’ is closed to new replies.
Skip to toolbar