• Resolved lindaleefleming

    (@lindaleefleming)


    Help. I can’t get back to my site. I changed the home and site urls incorrectly. I tried the following fix. Now, i can’t view anything. Please sent help!!!

    Filezilla.
    1. Navigate to: /dev-wpbeacon/wordpress/wp-content/themes/beaconacademy
    2. Right-click on the functions.php file and select View/Edit.
    After the first line in the file “<?php” enter these two lines:
    update_option(‘siteurl’,’http://www.beaconacademy.org/dev-wpbeacon/wordpress&#8217;);
    update_option(‘home’,’http://www.beaconacademy.org/dev-wpbeacon/wordpress&#8217;);
    3. refresh your admin page several times until it comes back.
    4. Edit the functions.php file again and take out the 2 lines you added and then save the file again.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Deep breath, it’s all there still in the database. Try this:

    1 – Navigate again to /dev-wpbeacon/wordpress/wp-content/themes/beaconacademy and rename functions.php to functions.php-old. You can fix it later.

    2 – Create a new functions.php file with just these lines in it like so

    <?php
    update_option('siteurl','http://www.beaconacademy.org/dev-wpbeacon/wordpress');
    update_option('home','http://www.beaconacademy.org/dev-wpbeacon/wordpress');

    And visit your site again.

    If that works, try to locate a backup copy of that old functions.php file and restore that.

    Thread Starter lindaleefleming

    (@lindaleefleming)

    Jan, Thank you for the deep breath. But, I am still kind of freaking out. I have the main page back but none of my navigation pages work. It is like their connection is broken.
    The website encountered an error while retrieving http://www.beaconacademy.org/dev-wpbeacon/wordpress/about-beacon-2/welcome-to-beacon-academy/. It may be down for maintenance or configured incorrectly.
    Here are some suggestions:
    Reload this webpage later.
    Help appreciated!
    Linda

    Thread Starter lindaleefleming

    (@lindaleefleming)

    I am using a permalink. I don’t really know what that means but have been reading on blogs how they can get messed up. I don’t know if I can somehow reset them?

    Reset permalinks. Dashboard>>Settings>>Permalinks>> Save them again

    Thread Starter lindaleefleming

    (@lindaleefleming)

    Yeash songdogtech!!! I just figured that out but THANK YOU!!!
    Linda

    Thread Starter lindaleefleming

    (@lindaleefleming)

    OH..THANK YOU JAN TOO!!!!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘HELP – siteurl / home – can't view site anymore!!’ is closed to new replies.