Forums

index.php / home.php (2 posts)

  1. Perad
    Member
    Posted 4 years ago #

    I have home.php as well as index.php.

    The problem is that the domain is defaulting to home.php.

    Is there any way I can view index.php through a link? I have tried {siteroot}index.php but this only redirects me to home.php.

    Failing this is there anyway to search for the last 5 blog entries?

  2. Fahid
    Member
    Posted 4 years ago #

    I think as long as you have a HOME.PHP file, your home page will always be displayed through HOME.PHP.

    So a simple way to get your job done is to remove or rename the HOME.PHP in your current theme directory, which may be found at: WORDPRESS_PATH\wp-content\themes\CURRENT_THEME\

    when you have no HOME.PHP, wordpress uses the INDEX.PHP to show your home page.

    So give it a try...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.