Problems with Custom Post Permalink /%year%/%posttype%/
-
Hello,
I am currently making a custom template where I have a news archive page (archive-news.php) and a single page (single-news.php).
I would like to have the url localhost/mysite/news/2014/ for the archive page.
Then for each single page I have a 4 digit number for the page name.
So the archive page url would be localhost/mysite/news/2014/
The single page would be localhost/mysite/news/2014/####I tried inputing in localhost/news/%year%/%postname%/ with has_archive: true / with_front: true
This works for each single page, they will show up as an example: localhost/mysite/news/2014/0001
The problem is localhost/mysite/news/2014/ won’t go to the archive-news
The topic ‘Problems with Custom Post Permalink /%year%/%posttype%/’ is closed to new replies.