Title: Same post content, different URLS
Last modified: August 19, 2016

---

# Same post content, different URLS

 *  [swollenpickles](https://wordpress.org/support/users/swollenpickles/)
 * (@swollenpickles)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/same-post-content-different-urls/)
 * I’ve run into a problem. I’ve created a theme that has two different single.php
   layouts. So i have single1.php and single2.php. The default single.php file looks
   like this:
 *     ```
       <?php
         $post = $wp_query->post;
            if ( in_category('69') || in_category('70') ) {
               include(TEMPLATEPATH . '/single-artist.php');
            } else {
               include(TEMPLATEPATH . '/single-review.php');
            }
       ?>
       ```
   
 * This seems to work in terms of displaying differnt post layouts depending on 
   which category the post comes from (which is what I want). The problem I have
   is, that no matter what post link i click on, the post content is the same, even
   though the urls are different. Does that make sense? So [http://www.blog.com/post1](http://www.blog.com/post1),
   [http://www.blog.com/post2](http://www.blog.com/post2), [http://www.blog.com/post3](http://www.blog.com/post3)
   all display the same content even though their urls are different and the post
   content should also be different.
 * Anyone have any ideas as to how I could fix this?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [swollenpickles](https://wordpress.org/support/users/swollenpickles/)
 * (@swollenpickles)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/same-post-content-different-urls/#post-739206)
 * Anyone?
 *  Thread Starter [swollenpickles](https://wordpress.org/support/users/swollenpickles/)
 * (@swollenpickles)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/same-post-content-different-urls/#post-739310)
 * Bump, cos I still can’t figure this out.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Same post content, different URLS’ is closed to new replies.

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [single.php](https://wordpress.org/support/topic-tag/single-php/)

 * 2 replies
 * 1 participant
 * Last reply from: [swollenpickles](https://wordpress.org/support/users/swollenpickles/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/same-post-content-different-urls/#post-739310)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
