I'm trying to pull my wordpress posts (in /blog/) folder into phpld homepage (in root folder). I'm putting the php code below in main.tpl to pull the wordpress posts in. Code works fine if I put it in a php page by itself in the root folder but when I put it inside phpLD all of a sudden it redirects the homepage to /wp-admin/install.php page. I'm not sure how phpld and Wordpress are interfering with each other. I'm hoping someone here can help <?php require('/home/nima/public_html/blog/wp-blog-header.php'); ?> <?php query_posts('showposts=5'); ?> <?php while (have_posts()) : the_post(); ?> <div class="BlogFeeds"> <div class="BlogFeedThumb"> <?php $post_image = thesis_post_image_info('thumb'); ?> <?php echo $post_image['output']; ?> </div> <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Read The Entire Post"><?php the_title(); ?></a></h3> <?php the_excerpt(); ?> </div> <?php endwhile;?> Code (markup): Code is in a file called blog-feed.php that I've created myself and am pulling it into main.tpl using the code below. I know this part of it works though. {php} include ("/home/nima/public_html/my_includes/blog_feed.php"); {/php} Code (markup):