• Resolved drusso1

    (@drusso1)


    My goal is to have a static home page with a blog that is selectable from the nav bar.

    I’m pretty sure I followed the instructions in WordPress for Dummies in regard to creating a static home page, then adding a blog to the site.

    My home page works fine: the appropriate static page is displayed. But the blog link in the nav bar points to an empty directory (/blog) in the document root for the site. I get the typical web page you would get when the browser is pointed to an empty directory. I also get this message: “Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 Server at localhost Port 80”

    Suggestions?

Viewing 4 replies - 1 through 4 (of 4 total)
  • uh, so youre saying the directory IS empty or looks empty?

    change the link to where you installed wordpress? according to what you just wrote, thats not inside blog/

    Thread Starter drusso1

    (@drusso1)

    Thanks for your reply whooami.

    WordPress install dir is ../htdocs/wordpress
    blog dir: ../htdocs/blog (not sure I really need this dir; it is empty)

    Dashboard > Setings > Reading > Front Page Displays: “Home” and “Blog”

    Dashboard > Setings > General:
    WordPress Address: https://localhost/wordpress
    Blog Address: https://localhost

    With the settings above, my home page works fine and all other links work fine, but the linnk to the blog displays the empty dir. When I try to change Blog Address: https://localhost to anything else, the browser opens a directory of files. It never displays the blog.

    no, you arent understanding.

    your blog directory is wordpress/

    why are you worrying about a directory thats empty??

    your wordpress files are here: /htdocs/wordpress

    are you trying to load wordpress outside of THAT directory? If thats the case, you need to follow the “keep wordpress in its own directory” directions. If NOT, then both those entries should be the same.

    Furthermore, the link to your blog needs to go where the Blog address points. Thats NOT blog, its where people go. WHY would you send them to an empty directory? Im befuddled.

    Regarding the files you see when you load some urls. You need to do your homework on administrating a web server.

    Since you dont indicate what you happen to be using, Ill point you to google for both

    https://www.google.com/search?hl=en&q=directory+index+file+iis&btnG=Google+Search&aq=f&oq=

    https://www.google.com/search?hl=en&q=directory+index++apache&btnG=Search

    ^ 6th link.

    This is a really good example of trying to walk before you have crawled.

    Make both those url settings the same, fix the directory index problem, and make a link that actually goes somewhere and your troubles will just be beginning.

    Thread Starter drusso1

    (@drusso1)

    Based on the comment “the link to your blog needs to go where the Blog address points”, and leaving all other settings the same, I changed the slug for the blog page to “localhost” and that fixed my problem.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Blog link from static home page points to empty /blog directory’ is closed to new replies.