• Hello All,
    I want to remove my existing index.php page with a new page and I want to keep the old index page under any menu. I deleted index.php file from my themes folder and checked my home page. It is still the same old index.php. So How can I remove the old one and place the new one.

    Thanks in Advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi!!!
    There is a very simple solution for this… Create a new file “home.php” (without the quotes) into your theme folder. When the domain is hit, the wordpress engine first checks if there is a home.php

    If home.php is found then that file is displayed or else index.php is displayed.

    Thread Starter Trivikrama

    (@trivikrama)

    Hi,
    Ya I too got it just now. I deleted my existing index.php page and I renamed my new page as index.php. I created a page from Add New Page in admin section,then I modified my old code to Homepage.php. Now it works fine. Thank you for your reply.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove Index page and replace it with new Page’ is closed to new replies.