• So I have installed a fresh copy of wordpress in a test environment and created a Home.php template. I followed the instructions here: http://codex.wordpress.org/Creating_a_Static_Front_Page And after doing all this, when I then try to click on the “blog” page I receive page not found. I have tried doing this procedure 3 times now… same result. Did a bunch of research and they all give the same procedure. It just isnt working… any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Rename home.php to something like homepage.php. And ensure that you followed the instructions for creating a custom page template and correctly applied the new template to your chosen home Page.

    The filename home.php is a reserved file on many servers, so using this name is likely to be the source of your current problems.

    Thread Starter brettwasbtd

    (@brettwasbtd)

    Still not working. I am doing this on my peronal computer using WAMP. Would that cause a problem? I literally load wordpress, make a static page title Home and a static page title Blog. Go to Settings > reading and set static page, home page for front page and blog for posts page. I then view my site and the home page appears. Then when I press blog or the about page I get a message saying “oops it appears this link is broken.” I have permalinks set to %postname%

    Is there something I am missing? What should the .htaccess redirect be?

    Mine is as follows (blog1 is the wordpress folder name in my WAMP environment)

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog1/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog1/index.php [L]
    </IfModule>
    # END WordPress
    Thread Starter brettwasbtd

    (@brettwasbtd)

    Ok, so it has to be the WAMP I am running on my local machine, I just tried this on my legitimate server and it works fine… Weird!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Static Home page issue’ is closed to new replies.