• Sr-ultimate

    (@sr-ultimate)


    I want to add a home page perhaps the home.php and but this wont consist the usual wordpress interface instead it’ll be more like a static page. Like site.com/
    But i need to have another page for the blog entries and so on. Like site.com/?=main (something like that) .

    but the wordpress should be in the same folder , like site.com?p=1, site.com?cat=1 etc.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Flash Buddy

    (@flashbuddy)

    Then create home.php and instruct the browser to load it first via your .htaccess file.

    or put a redirect in a index.html file

    or build your home page as index.html

    rudolf45

    (@rudolf45)

    1. If you have a home.php in your theme folder that loads instead of index.php when going to example.com.
    No need for htacces!
    Useful reading: Template Hierarchy
    1a. However, in this way you will not be able to access your index.php ever…
    2. In WP 2.1.x you have to option to define a “homepage” other than you index. See admin > Options > Reading

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Home Page and a blog page’ is closed to new replies.