[Plugin: WordPress SEO by Yoast] Dynamic page title numbering not working if only one page of result
-
Apologies if this has been mentioned already.
I have the titles set up for search results pages to show “Search results for ‘%%searchphrase%%’, page %%pagenumber%% of %%pagetotal%%”. There are similar settings for Category, Tag and Author archive page titles. My site is set to show 5 results per page.
When there are five or less search results (one page), the title shows “Search results for “search term”, page of”, basically leaving out the dynamically generated page numbers.
Example:
Search for a popular term on my website returns 59 articles (12 pages):
https://www.jpsoftwaretech.com/search/MSXML — title is correctSearch for a less-used term returns 5 articles (only one page of search results):
https://www.jpsoftwaretech.com/search/GetFilename — title is incorrectCan anyone else reproduce this behavior? I assume it is the way the plugin calculates the number of pages of search results. I’ll try to hack my way through the plugin and see if I can create a patch.
- The topic ‘[Plugin: WordPress SEO by Yoast] Dynamic page title numbering not working if only one page of result’ is closed to new replies.