Score:1

WordPress Date Archives not working in Nginx

bm flag

WordPress installed in a subdirectory:

domain.com/folder

WordPress Permalink Settings:

domain.com/folder/%postname%

Referencing the WordPress Nginx support article, I added the following to my nginx config:

location /folder {
    try_files $uri $uri/ /folder/index.php?$args;
}

Permalinks for pages, posts, authors, categories, and tags work great.

Permalinks for date archives do not work.

For example, when I hover the mouse over August 2021, it shows the following link:

domain.com/folder/2021/08

But instead of going to the appropriate date archive, it instead goes to:

domain.com/folder

How can I fix this?

Thank you in advance.

digijay avatar
mx flag
Have you tried the [example wordpress config from nginx.com](https://www.nginx.com/resources/wiki/start/topics/recipes/wordpress/)?
Michael Hampton avatar
cz flag
Please show the output of `nginx -T`
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.