• I’m trying to establish a local install of WordPress. I followed the 5-minute install.

    I have a XAMPP installation on this computer. Apache is running as a service, as is MySQL. I can access the DB (including the WordPress db) via the command line or phpmyadmin.

    I have the WordPress files saved in a subdirectory of my main site, e.g. Website/Blog.

    If I go to http://localhost/website, it opens the main page of the website fine. If I go to http://localhost/website/blog/wp-admin/ I can view and use the admin page just fine.

    However, if I make a post, and then click to View it, nothing shows up – the page is blank. Going to http://localhost/website/blog, which I would think would be the main blog page, comes up as a blank page.

    Curious if I’m missing something obvious…

    I’ve done an install on a hosted web server, and didn’t have any problems, and this doesn’t appear to be giving any problems other than I can’t view the posts in a browser.

    I’m using Windows 7, 64-bit laptop.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Perhaps you are missing the .htaccess file which is required to make the pages work.

    Hi dgthompson24,

    If you’re getting a blank page on a php script, most likely the php script is having a problem and generating an error. Your current setup is not showing any error messages. This is good so that your users don’t see any errors, but is bad when you want to troubleshoot the issue. Seeing the error message is your next step in debugging this issue. To see the error, you can either review the error_log file in the php script’s directory, or, enable display_errors in your php.ini file.

    A blank page at localhost/website/blog could also be a Directory Index issue. What happens if you visit localhost/website/blog/index.php?

    Any further details you can provide will be helpful, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not able to view main blog page’ is closed to new replies.