Title: WordPress redirect problem
Last modified: August 19, 2016

---

# WordPress redirect problem

 *  [manicer](https://wordpress.org/support/users/manicer/)
 * (@manicer)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/wordpress-redirect-problem-1/)
 * I am running wordpress as my news blog. But I just want the posts to land on 
   the index file of a particular product site. Here is the problem. I am using 
   this code to feed the posts into my site:
 * <?php
    // Include WordPress define(‘WP_USE_THEMES’, false); require(‘../news/
   wp-load.php’); query_posts(‘showposts=1’); ?>
 * <?php while (have_posts()): the_post(); ?>
    <h2><?php the_title(); ?></h2> <?
   php the_excerpt(); ?> <p>“>Read more…</p> <?php endwhile; ?>
 * This index file is at redfeathergames.com/gygax/index.php but every time I load
   it in a browser it takes me to redfeathergames.com/news which is where the wordpress
   blog is.
 * I first thought it was the canonical redirect so I disabled it but it still redirects
   me. Any suggestions?

The topic ‘WordPress redirect problem’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [offsite](https://wordpress.org/support/topic-tag/offsite/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)
 * [website](https://wordpress.org/support/topic-tag/website/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [manicer](https://wordpress.org/support/users/manicer/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/wordpress-redirect-problem-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
