• Hey everyone, thanks for help in advance!:)

    I’m facing a huge problem – i followed this instruction to remove the /wordpress in my URL:

    Edit functions.php

    If you have access to the site via FTP, then this method will help you quickly get a site back up and running, if you changed those values incorrectly.

    1. FTP to the site, and get a copy of the active theme’s functions.php file. You’re going to edit it in a simple text editor and upload it back to the site.

    2. Add these two lines to the file, immediately after the initial “<?php” line.

    update_option( ‘siteurl’, ‘http://example.com&#8217; );
    update_option( ‘home’, ‘http://example.com&#8217; );

    After i added these 2 Lines to the .php fill everything stopped working, i couldnt even log in into my wp account. It says something like: Object not found.

    .. so i removed the lines again. But the Problem still occurs. I even loaded a backup file of this functions.php but this didnt helped either.

    Anyone knows what to do?:/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘After changing the theme function.php the site crashed totally’ is closed to new replies.