Forums

Static Homepage that isn't a wordpress page (2 posts)

  1. johnwheal
    Member
    Posted 1 year ago #

    I have a file named home.php that contains my home page (totally different to the rest of the site). As expected it loads correctly.

    The problem is that it takes ages to load because it first searches through all my posts. I have narrowed down the problem and found that it is because in Settings->Reading it is specified as latest blog posts. The database call therefore occurs but none of the data is used. This would be ok apart from my site has hundreds of thousands of posts.

    I can't specify the page as static as it isn't technically a wordpress page.

    Any Suggestions?

  2. kmessinger
    Volunteer Moderator
    Posted 1 year ago #

    Take the source code from your home page and paste it into a new wp Page. Make that page a static page.

Topic Closed

This topic has been closed to new replies.

About this Topic