WordPress.org

Ready to get started?Download WordPress

Forums

Lost my homepage (10 posts)

  1. Cybertaff1
    Member
    Posted 3 years ago #

    Hi Guys,

    I seam to have misplaced my homepage on http://www.comtech247.co.uk. 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 http://www.comtech247.co.uk. 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?

  2. Clicknathan
    Member
    Posted 3 years ago #

    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:

    <!--?php
    	/* 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:

    <?php
    	/* 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...

  3. Cybertaff1
    Member
    Posted 3 years ago #

    Update:

    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 http://www.comtech247.co.uk/wp-admin I get a list of files instead of my login page. Any ideas?

    Thanks

  4. Cybertaff1
    Member
    Posted 3 years ago #

    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.

  5. tarotmeister
    Member
    Posted 2 years ago #

    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 (http://tarotmeister.com/) 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, "http://tarotmeister.com/http:/tarotmeister.com/pagetitle" 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!

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    Have you published any posts yet?

  7. tarotmeister
    Member
    Posted 2 years ago #

    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.
    TarotMeister

  8. esmi
    Forum Moderator
    Posted 2 years ago #

    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.

  9. tarotmeister
    Member
    Posted 2 years ago #

    I printed those pages out to read. I'll see how I make out with it tomorrow. Thanks :-)

  10. tarotmeister
    Member
    Posted 2 years ago #

    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.
    tarotmeister

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags