yangyang — 2012-06-17T05:41:15-04:00 — #1
I bought a few themes that by default don't have blog posts on home page as normal WordPress themes such as Twenty Eleven has. I had to create a page of Blog template and then use it for home page in Settings -> Reading.
It works, except for the pagination pages aren't redirecting properly AND page number isn't shown in the page title.
For example, both of these pages are accessible with or without trailing slash:
And they NEVER redirect to the canonical one as normal WordPress blog pagination pages should. And the page number isn't being displayed in <title></title>, it's just "Page | Shanghai Web Hosting". Seems $paged or $page variable isn't assigned a value or something.
It's all the same problems with another site that I used a Blog template page for the home page:
Are both accessible and NEVER redirects. The page number is neither shown in the title tag.
Any idea why this is happening and how I can fix this? Would it be a theme issue or is it a WordPress bug?
abdussamad — 2012-06-17T19:18:47-04:00 — #2
You'd better contact the theme author for this one.
yangyang — 2012-06-21T06:59:49-04:00 — #3
Thanks for the reply. So it must a theme issue? So normally with WordPress, even the home page is using a Blog template age, they pagination should work as usual, right?
abdussamad — 2012-06-21T16:38:14-04:00 — #4
The (lack of) redirection issue is not related to the theme but the incorrect title is. Anyway you can confirm this by changing over to the default theme and seeing if the redirection occurs.
yangyang — 2012-06-23T03:59:48-04:00 — #5
You've got the point. Just got confirmation from the theme team that the page title issue is related to the theme but they probably can't do anything for the redirection issue. Thanks for your help.