Title: archive-{posttype}.php
Last modified: August 20, 2016

---

# archive-{posttype}.php

 *  [Karthuizer](https://wordpress.org/support/users/santermans/)
 * (@santermans)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/archive-posttypephp/)
 * I have the same problem, please help
    [http://wordpress.org/support/topic/custom-post-type-category-archives-not-working?replies=5](http://wordpress.org/support/topic/custom-post-type-category-archives-not-working?replies=5)

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

 *  [marv51](https://wordpress.org/support/users/marv51/)
 * (@marv51)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/archive-posttypephp/#post-2909041)
 * If you have the same problem, then the solution you linked to should work for
   you 😉 this problem was fixed, so can you describe what is not working for you?
 *  Thread Starter [Karthuizer](https://wordpress.org/support/users/santermans/)
 * (@santermans)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/archive-posttypephp/#post-2909066)
 * I don’t know, why its not working.
    The ‘has_archive’ is set to true. I have 
   a archive.php and a archive-kattenrassen.php I’ trying to link to the archive-
   kattenrassen.php with the get_the_term_list(), or is there a other why to link
   to the archive-kattenrassen.php ?? My permalink is set to the Default.
 * _[ Please do not bump, it’s [not permitted here](http://codex.wordpress.org/Forum_Welcome#No_Bumping).]_
 *  [marv51](https://wordpress.org/support/users/marv51/)
 * (@marv51)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/archive-posttypephp/#post-2909098)
 * Did you refresh the permalinks? E.g. Hit save on the permalinks page?
 *  Thread Starter [Karthuizer](https://wordpress.org/support/users/santermans/)
 * (@santermans)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/archive-posttypephp/#post-2909099)
 * Hi, my permalinks are on the default settings is this ok?
 *  [marv51](https://wordpress.org/support/users/marv51/)
 * (@marv51)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/archive-posttypephp/#post-2909107)
 * I’ve never trieed ‘default’, but in any case to refresh the permalinks, you have
   to save the permalinks page, it does’t matter if you change anything.
    I assume
   you’ve read this: [http://codex.wordpress.org/Post_Types#URLs_with_Namespaced_Custom_Post_Types](http://codex.wordpress.org/Post_Types#URLs_with_Namespaced_Custom_Post_Types)
   and [http://codex.wordpress.org/Post_Types#Single_template](http://codex.wordpress.org/Post_Types#Single_template)(
   esp. the note!)
 *  [Tirumal](https://wordpress.org/support/users/tirumal/)
 * (@tirumal)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/archive-posttypephp/#post-2909109)
 * Try giving 755 permission to .htaccess file in your http(s)docs directory and
   save the permalinks settings again.
 * Hope this works for you.
 * (To change permission open ftp, right click on file and select change permission
   on FileZilla.)
 *  Thread Starter [Karthuizer](https://wordpress.org/support/users/santermans/)
 * (@santermans)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/archive-posttypephp/#post-2909110)
 * Nope, it’s not working 🙁
    I’m trying to load my archive-$posttype.php page with
   the get_the_term_list() function is the right way to do it? (I’m on my single-
   $posttype.php page).
 *  [marv51](https://wordpress.org/support/users/marv51/)
 * (@marv51)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/archive-posttypephp/#post-2909142)
 * Don’t really know what you are doing. The single-$posttype.php doesn’t get loaded
   if your archive page is loaded. (see: [http://codex.wordpress.org/Template_Hierarchy](http://codex.wordpress.org/Template_Hierarchy))
   
   What I do to debug this kind of problem is put a `die("Test");` in the archive-
   $posttype file and try wordpress to load that page. So if it is loaded you know
   for sure. Going to [http://example.com/$posttype/](http://example.com/$posttype/)
   should propably show your archive page. If not, try to resave your permalinks,
   also check that browser cache is not a problem. Try a different browser, maybe
   in privat browsing mode to confirm it’s not a cache issue. If that’s not working
   maybe changing the permalink structure is a good idea, too.

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

The topic ‘archive-{posttype}.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 3 participants
 * Last reply from: [marv51](https://wordpress.org/support/users/marv51/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/archive-posttypephp/#post-2909142)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
