Title: Pretty permalinks causing single.php to stop working while archive.php works
Last modified: August 21, 2016

---

# Pretty permalinks causing single.php to stop working while archive.php works

 *  [Sky Golden](https://wordpress.org/support/users/sky-golden/)
 * (@sky-golden)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/pretty-permalinks-causing-singlephp-to-stop-working-while-archivephp-works/)
 * Hey. I started making my own theme and my theme’s single.php file doesn’t load
   when I turn on pretty permalinks. It just loads the index.php instead.
 * What is weird is that when I change themes to a default WordPress theme, then
   single.php loads correctly for single posts. Even after replacing my theme’s 
   single.php file with single.php from a default WordPress theme, when my theme
   is activated, then single.php doesn’t seem to run.
 * You can have a look here [http://www.indiegamerzone.com/the-battle/](http://www.indiegamerzone.com/the-battle/)
 * Let me know if you need any more info.

The topic ‘Pretty permalinks causing single.php to stop working while archive.php
works’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Sky Golden](https://wordpress.org/support/users/sky-golden/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/pretty-permalinks-causing-singlephp-to-stop-working-while-archivephp-works/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
