Title: Does not process the archive file.php
Last modified: September 9, 2019

---

# Does not process the archive file.php

 *  [sewp](https://wordpress.org/support/users/sewp/)
 * (@sewp)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/does-not-process-the-archive-file-php/)
 * Good day.
    For a CPT using the Custom Post Type Permalinks plugin form a link
   of the form: /cpt-name/%year%/%monthnum%/%post_id%/ To write single.php works
   fine. And here archive.php for links: /cpt-name/%year%/%monthnum%/ /cpt-name/%
   year%/ not working. Tell me how to connect this file to the above links. Thank
   you in advance.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Toro_Unit (Hiroshi Urabe)](https://wordpress.org/support/users/toro_unit/)
 * (@toro_unit)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/does-not-process-the-archive-file-php/#post-11916155)
 * date archive URL is
 * > /cpt-name/date/%year%/%monthnum%/
    > /cpt-name/date/%year%/
 * if `/date/` does not exist,
 * > /cpt-name/2019/09/10/
 * it cannot be determined whether the last `10` is post_id or day.

Viewing 1 replies (of 1 total)

The topic ‘Does not process the archive file.php’ is closed to new replies.

 * ![](https://ps.w.org/custom-post-type-permalinks/assets/icon-256x256.png?rev=
   3495884)
 * [Custom Post Type Permalinks](https://wordpress.org/plugins/custom-post-type-permalinks/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-type-permalinks/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-type-permalinks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-type-permalinks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-type-permalinks/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Toro_Unit (Hiroshi Urabe)](https://wordpress.org/support/users/toro_unit/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/does-not-process-the-archive-file-php/#post-11916155)
 * Status: not resolved