Forums

[resolved] I ruined my WP website, please help!! (5 posts)

  1. Defas
    Member
    Posted 1 year ago #

    At last after one year of hard work, many changes and upgrades, a lot of articles, galleries and improvements, I made a mistake and now my WP website crashed... I can't open a WP admin, can't reached the main dashboard and can't repair...

    The mistake ruined my website was: on General setting I wrote a wrong website address/location. I did not want to reinstall WP because it means the one year work will go away...

    Maybe somebody can tell the simply way how to repair some .php or other files... I can access all my files through FTP and could change any info on any file -- if I know what and where to change...

    Sorry my bad English and a lot of thanks to everyone who will try to help me!...

  2. songdogtech
    Member
    Posted 1 year ago #

    See Changing The Site URL « WordPress Codex for recovery instructions.

  3. Defas
    Member
    Posted 1 year ago #

    Thank you songdogtech for the link - it seems dealing go better...
    ah.. how good is to have such a nice forum and professional advisers!

  4. Defas
    Member
    Posted 1 year ago #

    You really helped me - I already found this your link on other post :)

    Thanks a lot!!

  5. BeholdTech
    Member
    Posted 1 year ago #

    Thank you, thank you, Songdogtech! I was moving a site I didn't create and was confused how they had a different page set to be the home page and tried putting in the location of what WAS the home page, ie, example.com/newsletter in the Site url, in General Settings and really messed everything up. (I did find the control for that eventually: Settings>Reading)

    My problem was the index page would load, but I couldn't navigate anywhere. I turned off plugins, and also changed name of my theme to force it to use the default, and still had the problem.

    Using the recovery instructions, of your link above, adding this code to top of functions.php, uploading the file, checking the site (It worked!!!), then removing the code and uploading again... worked.

    <?php
    update_option('siteurl','http://example.com/blog');
    update_option('home','http://example.com/blog');

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic