WordPress.org

Forums

Blank Screen... running out of ideas. Here's what I've done: (8 posts)

  1. cbreecopy
    Member
    Posted 5 years ago #

    I used to only use WordPress for my blog, but now I use it to run my whole site. I built the site on my blog URL (http://www.carabreeden.net/blog) and now I am trying to change WordPress to my home directory (http://www.carabreeden.net). However, when I uploaded the files to my root directory, the screen is blank. The admin screen is blank and my site is blank.

    Here's what I've done:

    Renamed the plugin folder to check plugin errors
    Checked the config.php and admin files
    Re-downloaded WordPress (except wp-content)

    Here's the odd part -- when I tried uploading it back to the original format (/blog) it came back. That's not what I want though. Any thoughts on why it's working under /blog but not under my root directory?

    Please help!

  2. dcannon1
    Member
    Posted 5 years ago #

    You need to change your WordPress address (URL) and your Blog address (URL) from http://www.carabreeden.net/blog to http://www.carabreeden.net/ before moving the files. These are both located under Settings->General

    To be thorough you would ideally need to update all references in the database from http://www.carabreeden.net/blog to http://www.carabreeden.net/.

    I usually use phpMyAdmin to export my database, do a find and replace, and then import the database back in. You can also do a find and replace SQL query.

    However the site should still load up just by making the changes to the 2 options listed above.

  3. Those are NOT complete instructions from dcannon1 and your site will be inaccessible if you follow them.

    See Moving WordPress « WordPress Codex. You don't need to go into the database or export the database to move wordpress's directory. You may need to use a plugin like Search RegEx to find and change URLs in posts and pages.

  4. cbreecopy
    Member
    Posted 5 years ago #

    Alright so I changed the URI's but STILL no luck. Any other thoughts?

  5. cbreecopy
    Member
    Posted 5 years ago #

    NEVERMIND. I got it!

    My FTP didn't upload all the files. Changing the URI's worked like a charm. Thank you SOOOOO much. I don't know that I would have ever figured that out. Thank you thank you!

  6. Jyn
    Member
    Posted 5 years ago #

    I am also getting a blank screen ,as are other people but when I log in I can see my site. ANy ideas on this? My site stats show that no one has come through my site in months, when I know they have. I also seem to be having a lot of warning about attempted hacks..

  7. Post your site URL so people can look at the source. And see FAQ: My site was hacked « WordPress Codex and How to Completely Clean a Hacked WordPress Install.

  8. dcannon1
    Member
    Posted 5 years ago #

    Nothing about my instructions would make a blog inaccessible if done correctly. A database find and replace allows a WP site to be moved in seconds.

    Granted, my directions weren't very thorough, but a find and replace of a DB export would accomplish both changing the Site URLs as well as the functionality of Search RegEx in a single operation. I do this everyday moving sites from dev to live environments.

    I will try to be more thorough in future instructions as I could see how someone inexperienced in working with a database could easily make a mistake in that process.

Topic Closed

This topic has been closed to new replies.

About this Topic