The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

index.php as static page (5 posts)

  1. Anonymous
    Posted 12 years ago #

    I have read a lot of posts about how to get a static page inside the site.
    I am looking for the opposite: index page wouldn't gave dynamic posts but a static post (welcome message and introducing) and all other pages remain standard dynamic pages.
    Any suggestion about it ?
    Thanks to anybody can help.

  2. Stevarino
    Posted 12 years ago #

    Try putting WordPress into a subfolder... That way your homepage could be http://yoursite.com/ while your weblog be at http://yoursite.com/blog/

  3. Anonymous
    Posted 12 years ago #

    Really nice !
    I used http://mysite.com/home.php and http://mysite.com/blog/
    Very easy to do; some stuff for the style sheet but good result.
    Additional question:
    I am going to replace the loop in my new home page (see http://wiki.wordpress.org/TheLoop ) in order to display welcome message.
    Good solution instead of some words inside home.php would be to use one specific entry.
    How to assign in the home.php a specific entry ?

  4. mxtrader
    Posted 11 years ago #

    Suppose I do that. I have an index.php and installed wp under /wp (for example), how do I use the templates to "affect" the index.php in the root directory of my site?

  5. mxtrader
    Posted 11 years ago #

    OK, I have solved my problem... I basically copied index.php to my home.php, so now I have the static page I was looking for at the begining of the site.

    Now, how do I go to the "normal" blog screen? where do I have to point to? I was thinking on creating a new "index2.php" but it won't work.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.