Title: Non-root Loop problem
Last modified: August 19, 2016

---

# Non-root Loop problem

 *  [nattaylor](https://wordpress.org/support/users/nattaylor/)
 * (@nattaylor)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/non-root-loop-problem/)
 * I’ve tried all the various solutions that exist for my problem. This is sort 
   of a legacy hack question. I have my whole site built, and later added wordpress
   to manage my news. Most of the site is static though, so I didn’t migrate the
   whole site to WordPress. Anyway I used to just have a file in the wordpress directory
   that I called front page which contained the code:
 *     ```
       <?php
       /* Short and sweet */
       define('WP_USE_THEMES', true);
       require('./wp-blog-header.php');
       ?>
       <?php if have post..... etc
       ```
   
 * I just copied the Main Index Template Loop code sans header/footer/sidebar.
    
   I then did a PHP include from my homepage and just the posts appeared. It was
   nice.
 * Now when I do that I either get a blank page, or a no posts error. Is there a
   way to continue this way, or will I have to figure how do it using the new included
   static homepage feature.
 * Thanks

The topic ‘Non-root Loop problem’ is closed to new replies.

## Tags

 * [non-root](https://wordpress.org/support/topic-tag/non-root/)
 * [static homepage](https://wordpress.org/support/topic-tag/static-homepage/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [nattaylor](https://wordpress.org/support/users/nattaylor/)
 * Last activity: [18 years, 4 months ago](https://wordpress.org/support/topic/non-root-loop-problem/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
