• 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?

Viewing 1 replies (of 1 total)
  • 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?).

Viewing 1 replies (of 1 total)

The topic ‘WP ignores my index.php’ is closed to new replies.