WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Posts not displayed on index.php (22 posts)

  1. nlamont
    Member
    Posted 2 years ago #

    I'm new to this, but I had a previous attempt at setting up WordPress on my hosting provder server. It worked OK but at the time I went off and forgot about it.

    Returning to it I found I had created three pages and half a dozen posts. It all worked OK except that when I went to http://www.mysite.com/wordpress/ I always got one of the pages, not any of the posts. They were available in the side menu listed under recent posts, categories etc. All those links worked. I then deleted the three pages thinking that would start my posts appearing but it doesn't. In the WordPress default theme, I get the correct header and footer, and the side panel and its links all work but the main content area displays 404 file not found. In some other themes it says 'Sorry there were no posts to match your criteria' as if I'd put in a search.

    Can anyone advise me how to fix this without clearing the database and reinstalling from scratch? (I'm willing to do this but I expect there's an easiesr way.)

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Start by activating the Twenty Eleven theme. What do you get on the blog's front page?

  3. nlamont
    Member
    Posted 2 years ago #

    Thanks for replying so quickly. I get '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.' - below this it displays links to all my posts, categories etc, all of which individually work fine.

    Any other info I can give you?

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    OK - without changing the theme, create & publish a test post. Now what do you see?

  5. nlamont
    Member
    Posted 2 years ago #

    Exactly the same except that the title of the post appears top of the 'recent posts' list. Still the 'embarrassing' message in the main area.

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    Site url?

  7. nlamont
    Member
    Posted 2 years ago #

  8. esmi
    Forum Moderator
    Posted 2 years ago #

    What do you have set for your front page in Settings-> Reading?

  9. nlamont
    Member
    Posted 2 years ago #

    Settings > Reading:

    Blog pages show at most 10 posts
    Syndication feeds show the most recent 10 items
    For each article in a feed, show full text

    Encoding for pages and feeds utf-8

  10. nlamont
    Member
    Posted 2 years ago #

    I don't know if it'll help but the majority of the posts are imported from TypePad. Doing this didn't make any difference in that it was always a Page that showed on the home page rather than posts. The pages are now deleted, but it looks like the home page still wants a page rather than a post. I started manually deleting the Typepad ones in case they had corrupted it but there were too many. Also new posts I make appear OK in the archives and categories so I think the problem is in the home page.

  11. esmi
    Forum Moderator
    Posted 2 years ago #

    What do you have set for your "Front page display" section in Settings->Reading?

  12. nlamont
    Member
    Posted 2 years ago #

    Sorry, Esmi, there's nothing saying 'Front page display'. What I quoted above is all there is.

  13. nlamont
    Member
    Posted 2 years ago #

    If there's a way to private message you or an email address I'm happy for you to have my admin ID and pw as I'm just trying out the blog.

  14. esmi
    Forum Moderator
    Posted 2 years ago #

    Have you:

    - deactivated all plugins to see if this resolves the problem.
    - switched to the Twenty Eleven theme

  15. nlamont
    Member
    Posted 2 years ago #

    Ah! There was a plugin called 'Akismet' activated. When I deactivated that (I don't even know where it came from), the blog behaves correctly. Apologies, I should have thought of that but I'll plead the newbie amendment!

  16. nlamont
    Member
    Posted 2 years ago #

    Thanks very much for your help, Esmi. It's given me an idea what to do when I get further into this and things don't work.

  17. esmi
    Forum Moderator
    Posted 2 years ago #

    I'm glad you got it working but I'd be very surprised if Akismet was causing the problem. It's the one plugin that is virtually guaranteed not to cause problems in an otherwise basic install.

  18. nlamont
    Member
    Posted 2 years ago #

    Hmmm. When I finish what I'm doing I'll activate it again and see if it changes.

  19. nlamont
    Member
    Posted 2 years ago #

    Hi - I've reactivated Akismet, but first updated to the current version and got a new API key. The blog still works. I guess the problem may have been that it was out of date. It's well over a couple of years since I first set this up and I've never even looked at it since then.

    I'm quite excited about getting into WordPress now that this is fixed. I'll mark this as resolved and thanks again for your advice.

  20. esmi
    Forum Moderator
    Posted 2 years ago #

    You're welcome :-)

  21. Liqui-Fire
    Member
    Posted 1 year ago #

    Hello, I have read the above post and deactivated all my plugins. When I click on any post that show in the "Recent Post" I get the same error message...

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

    This error can be seen at: http://blog.woodsmansinternational.com/www.woodsmansinternational.com

    I'm not certain why it shows http://www.woodsmansinternational.com twice though. Perhaps that is part of the error? or the cause for the error?

  22. Liqui-Fire
    Member
    Posted 1 year ago #

    Also: I just happened to notice that the "Get short link" has the following...
    http://blog.woodsmansinternational.com/?p=139
    another post shows the same but ending with ?p=78
    but those post all show the same error as my previous post.

    Would writing the post name in the "Get short link" address help?

    Thank you in advance to anyone for their assistance.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags