• Resolved pbickert

    (@pbickert)


    Hi there WP Support,

    I have a simple WP site that I maintain and recently tried to update the default landing page. I wasn’t sure how to do this so I started poking around (second mistake) and now the site homepage won’t load properly and I can’t even access the site login /wp-admin. Because I cannot login to the site I cannot be tell which exact settings I changed but I recall changing something like the default page to https://www.barryandtheblasters.com/live.

    I have access to the site ftp and have identified recent file changes that may be the culprit but haven’t been able to find any code that contains “/live” so I’m out of ideas.

    I also didn’t backup the site (first mistake)

    Any help or suggestions would be appreciated,
    Patrick

    The page I need help with: [log in to see the link]

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

    (@diondesigns)

    What you did was change the site URL and home URL, and changing those to something invalid will break a WordPress site. Since you have FTP, edit your wp-config.php file and locate a line that looks like this:

    define('WP_DEBUG', false);
    

    Add the following two lines immediately after that line:

    define('WP_SITEURL', 'https://www.barryandtheblasters.com');
    define('WP_HOME', 'https://www.barryandtheblasters.com');

    Your site should display correctly again.

    Thread Starter pbickert

    (@pbickert)

    Fixed!!! That fixed it. Thank you very much for the quick and clear response.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Newb – tried changing default page. Now site is broken and I cannot login’ is closed to new replies.