Title: Loop Path incorrect?
Last modified: August 31, 2016

---

# Loop Path incorrect?

 *  [chernandez9](https://wordpress.org/support/users/chernandez9/)
 * (@chernandez9)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/loop-path-incorrect/)
 * I am trying to embed blog posts onto a website that does not use wordpress.org.
 * <?php // Include WordPress define(‘WP_USE_THEMES’, false); require(‘/http://theplayfullife.
   polarnopyretusa.com/var/www/html/wordpress/site/htdocs/blog/wp-blog-header.php’);
   query_posts(‘showposts=3’); ?>
 * I have added this code to my index.php file on the non-wordpress site to run 
   the blogposts.
 * My path I think is the area that is not connecting.
 * The blog that is wordpress is [http://www.theplayfulllife.polarnopyretusa.com](http://www.theplayfulllife.polarnopyretusa.com)
   it is using the grisaille theme.
 * Any help much appreciated!

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/loop-path-incorrect/#post-7300493)
 * `'/http://theplayfullife.polarnopyretusa.com/var/www/html/wordpress/site/htdocs/
   blog/wp-blog-header.php` is not a path. It’s part url and part path.
 * Assuming both sites are on the same server, try something like `../wordpress/
   site/htdocs/blog/wp-blog-header.php`

Viewing 1 replies (of 1 total)

The topic ‘Loop Path incorrect?’ is closed to new replies.

## Tags

 * [blog posts](https://wordpress.org/support/topic-tag/blog-posts/)
 * [code](https://wordpress.org/support/topic-tag/code/)
 * [loops](https://wordpress.org/support/topic-tag/loops/)
 * [path](https://wordpress.org/support/topic-tag/path/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/loop-path-incorrect/#post-7300493)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
