• My hosting service did a restore for my website, and now my website is gone. They said there were errors when they tried to restore. I have logged into the cPanel and I found my images. What I really need is the text from the home page. Could someone tell me which file it would be located in? If I can find the text, I can try to recreate my website. I did not use posts, I only had a home page.

    Thanks in advance for any help with this.

Viewing 6 replies - 1 through 6 (of 6 total)
  • This will be stored in your database. You can figure out how to connect to your database by looking in wp-config.php. In cPanel, you may have access to your database via phpMyAdmin.

    Once connected, you’ll want to run the following query:
    SELECT * FROM wp_posts WHERE post_type = 'page';

    Note that your posts table could have a prefix other than “wp_”, depending on your settings. This is set in wp-config.php via the $table_prefix variable.

    Thread Starter geeky_girl01

    (@geeky_girl01)

    I pretty unfamiliar with the WordPress files, but I did go into phpMyAdmin, and there is no database at all. That is what my hosting service lost when they tried to do a restore. Do you have any ideas as to how i can get this back? If I can get the text from the homepage, I can recreate it.

    Thanks!

    Do a search for your site on Google. Sometimes they show a cached version. If so you can copy the text.

    If your db is gone and your host does not have a backup, you will need to install WP again. You also should think about another host.

    Thread Starter geeky_girl01

    (@geeky_girl01)

    I already tried Google, and all the other search engines, as well as Way Back Machine and all the other archives I could think of. I am going to be moving to another host, for sure. If I install WP again, it will not help me recover any of the files, will it? Sorry about the dumb questions, but I am a newbie when it comes to WordPress files.

    Thanks

    WP stores everything in the database so if that is gone, all is gone. Except media which is in wp-content/uploads.

    Thread Starter geeky_girl01

    (@geeky_girl01)

    I was afraid of that, but really hoping it could be recovered.

    Thank you for your help

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Trying to find home page text in wordpress files’ is closed to new replies.