Forums

WP ignores my index.php (2 posts)

  1. shnafoo
    Member
    Posted 2 years ago #

    I wanted a static landing page, so I took all the dynamic content out of index.php, and put a picture in there.

    Then i set up a homepage as a Page in WP.

    But WP ignored my index.php, and went straight to the Home page.

    I found a solution by just putting what i had in index.php into a file index.html, and putting it on the root.

    But I don't like this workaround, and want to know why it didn't just show up in my index.phpl?

  2. equaldesign
    Member
    Posted 2 years ago #

    If you want a static page to be your 'home page' then create a page in WordPress (perhaps call it home). Then in your WordPress settings go to reading and choose Front Page Displays static page and then choose the page that you have created (called home?).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.