Limit posts for tag output
-
Hello,
I’m using WordPress for photoarchive of WWII – https://waralbum.ru.
There are 31000+ posts on the site, every post is tagged with multiple tags.The problem is, that lists of posts for tags are generated very slow due to a big amount of posts. For example, tag “americans” – https://waralbum.ru/tag/американцы/ – contanins 4150+ posts and page for it (paged 10 posts for a page) genereates over 2 minutes.
Some tags return server error “502” until I increase server timeouts.
So, my question is: why tags are so slow and how can I optimize it? As for categories – with thousands of posts they are genereted very quickly.
My be I just can limit the number of posts that is returned for tag page to 500 or 1000? How can I do that?
- The topic ‘Limit posts for tag output’ is closed to new replies.