Support » Fixing WordPress » posts not showing on main page

  • Resolved mjmund


    i installed wordpress into root/blog and the mainpage/homepage/frontpage of the blog seemed to display ok. so i made a sample post and when i clicked on “view post” i got a 404 error. i checked the /blog folder and it had index.php and .htaccess but the root directory only had .htaccess so i copied (not moved) the index.php from the /blog into the root. now when i make a sample post, and click on “view post” it comes up just fine, however back on my main/home/front it does not show my new post or any posts. any suggestions? am i missing another file in the root ?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Are you trying to give WordPress its own directory? If yes, did you follow all the steps?

    my web page is and my blog is in
    i followed the info regarding the index.php and the .htaccess but left the permalinks “as is” because i was not sure how they should be set.
    i think now that maybe that was my problem – BUT, before your post, i had played with the .htaccess and index.php files and i think i messed them up. i re-copied the index.php from the /blog to the root – now nothing works.
    do i need to uninstall wordpress and then re-install ?
    if so, what files do i need to manually delete from the root? the un-install will take care of everything in the /blog folders.

    I encountered this kind of issues.Until now I don’t know how to find my post.It is being posted, but when it comes to viewing it, it’s missing.Hopefully, we can resolve this problem.

    Currently, I only see an error message (“Directory has no index file”) on your “blog”.

    If you are going to keep your main web page and blog as separate entities, then there is no need to copy index.php, .htaccess or any other file to the root directory.

    now when i make a sample post, and click on “view post” it comes up just fine, however back on my main/home/front it does not show my new post or any posts.

    If you publish a post or page at “blog” (, it won’t show up on your site’s root (

    If you are trying to integrate both the main site and the “blog”, then you can do it by removing whatever at the root directory and then installing WordPress at the root. Please be sure to take a backup of your main site, if you ever remove anything from your site.

    Please let us know, if you are unclear.

    ok, i un-installed and re-installed wordpress to clean up any files that i may have messed up.
    i tried again with wordpress loaded in
    same problem.
    under settings-general, i had the blog listed as
    and had the “site url” listed as
    i added the /blog to the ‘site url’ and everything looks like it is working now

    yes, i intended to integrate a “main site” with a “blog tab” that would direct to the wordpress blog – – might have been able to acheive the same thing with a custom static front page, but being new to this, and being familiar with “old fashioned HTML” and not wanting to spend alot of money, i just made a simple “static web site” that i wanted to include a “blog” with it

    had to un-install and re-install to fix the index.php and .htaccess files but still had same problem.
    Under SETTINGS – GENERAL – i had wordpress location listed as and the “site URL” without the /blog
    FIXED problem by simply adding the /blog to the “site URL” under SETTINGS – GENERAL

    I’m glad you fixed it now. You may want to mark this thread as resolved when you get a chance.


Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘posts not showing on main page’ is closed to new replies.