WordPress.org

Ready to get started?Download WordPress

Forums

change function.php to change url and now I can't login (8 posts)

  1. karenbatten
    Member
    Posted 1 year ago #

    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

  2. Krishna
    Volunteer Moderator
    Posted 1 year ago #

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

    It is a temporary server problem, possibly. Either wait for some time and try again or contact your host.

  3. karenbatten
    Member
    Posted 1 year ago #

    The original website is still working on the server
    http://Www.aboutyourtransition.com.au.
    I had the new WordPress site under http://www.aboutyourtransition.com.au/Wordpress and I tried to change the URL to be the main site and now I can't login.
    The server seems to Be working for the original site? Could it still be a temporary server issue? It is still not working.
    Cheers Karen

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    I can't find any sign of WordPress at http://www.aboutyourtransition.com.au/Wordpress Are you sure that's where you installed WordPress originally?

  5. karenbatten
    Member
    Posted 1 year ago #

    http://www.aboutyourtransition.com.au/wordpress/
    that's what I'm saying it's not turning up ever since I change the function.php file... it's weird right. Have I lost my wordpress site? I backed it up... but I've never reinstalled from backup...

  6. karenbatten
    Member
    Posted 1 year ago #

    now you can see something at http://aboutyourtransition.com.au/wordpress/ but I don't know how to login or fix what I have done.
    All I want to do is have the wordpress site at
    http://aboutyourtransition.com.au/
    thanks in advance for your help.

  7. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

  8. karenbatten
    Member
    Posted 1 year ago #

    thanks for the link but I already had the website in it's own directory I actually want it to be the main website and now I can't access the site at all...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags