Support » Themes and Templates » Lost my homepage

  • Hi Guys,

    I seam to have misplaced my homepage on I was testing my home web server so downloaded all my files via Filezilla and then later uploaded them back to the web. Since the upload I can view all of my pages on the website except for my homepage. I have checked the permalinks and the funny thing is I can’t view my homepage not matter which page is set to it. I have checked that my homepage is set to static and that the URL is set to The message I keep getting is:
    It works!

    This is the default web page for this server.

    The web server software is running but no content has been added, yet. How can this be when I can view the rest of the website? Any ideas?

Viewing 9 replies - 1 through 9 (of 9 total)
  • From what I can see, the code you’re using in your main template file (index.php) has some PHP code that has been commented out. Currently it reads:

    	/* Run the loop to output the posts.
    	 * If you want to overload this in a child theme then include a file
    	 * called loop-index.php and that will be used instead.
    	 get_template_part( 'loop', 'index' );

    Open that file up and try changing it to:

    	/* Run the loop to output the posts.
    	 * If you want to overload this in a child theme then include a file
    	 * called loop-index.php and that will be used instead.
    	 get_template_part( 'loop', 'index' );

    That’s at least the first step, from there you’ll likely need to check and see if the rest of your PHP code in that file was changed…


    I narrowed it down to overwriting my index.php file so downloaded a new new one from WordPress and uploaded that. My website is back up and running!!

    Only one thing though when I try to access my WordPress Dashboard by using I get a list of files instead of my login page. Any ideas?


    All sorted. I was missing some files from wp-admin so uploaded some new ones from WordPress and bingon life is good again. Thanks Clicknathan for taking the time.

    This is a new post…(I’m not very sure of myself in poosting here).

    I lost my home page file. When I try to get into my site from the outside ( the header comes up as does the menu but all I get underneath that is a page that reads: “Nothing Found…
    Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.” When I try to call it up from my other page links, I get one that says “This is somewhat embarrassing, isn’t it?
    It seems we can’t find what you’re looking for. Perhaps searching, or one of the links below, can help.”
    Like I said, I do get the header and menu I could recreate the home page quite easily if I could find out how to get to the page where I created it in this first time. By the way – I was trying to get rid of the permalink, “” when I lost my file.
    I have to tell you, I’m html illiterate. I’ll have to be lead by the hand so I’ll know how to do it. After that, I should be alright for future problems. At least I’ll know where to go.
    Thanks for your help! I really need it!

    Have you published any posts yet?

    Hi, I have quite a lot of pages published. The trouble is I can’t get to the files of the home page. It will just bring up the header and menu (which works on everything but the home page. (and then it half works). Apperently I just lost the file. Thanks for replying.

    I have quite a lot of pages published

    Pages are not the same as Posts. If you have a purely Page-driven site (ie no Posts), you probably need to set up a static front page.

    I printed those pages out to read. I’ll see how I make out with it tomorrow. Thanks 🙂

    Hi esmi,

    That did it! Thanks for your help! Another question… Is it possible to make the header menu single line spaced? That big gray box takes a lot of space.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Lost my homepage’ is closed to new replies.