Title: Using multiple index pages
Last modified: August 18, 2016

---

# Using multiple index pages

 *  [scrm](https://wordpress.org/support/users/scrm/)
 * (@scrm)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/using-multiple-index-pages/)
 * I would like to use two PHP templates: one for the main index.php, and one for
   the individual post pages. The purpose is to have different text displayed in
   the sidebar for the post pages than for the main page of the site (a ‘what’s 
   this?’ text).
    There are a few threads here that explain how to use different
   CSS files for different pages, but this is not what I need. The design will be
   the same between the main index.php and the individual post pages – it’s the 
   content of the pages that I’d like to be different. Do any of you have any ideas?
   Thanks, M.

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

 *  [noahpb](https://wordpress.org/support/users/noahpb/)
 * (@noahpb)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/using-multiple-index-pages/#post-80854)
 * Maybe this will help. You can have one index page and use this to determine what
   is displayed.
    [http://wiki.wordpress.org/HideStuffOnPermalinkPage](http://wiki.wordpress.org/HideStuffOnPermalinkPage)
 *  Thread Starter [scrm](https://wordpress.org/support/users/scrm/)
 * (@scrm)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/using-multiple-index-pages/#post-80950)
 * Thanks, that’s exactly what I was looking for. And it’s a much more elegant solution
   than having multiple index pages.

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

The topic ‘Using multiple index pages’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [scrm](https://wordpress.org/support/users/scrm/)
 * Last activity: [21 years, 9 months ago](https://wordpress.org/support/topic/using-multiple-index-pages/#post-80950)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
