Page number in title for oldest post in front page

  • bic

    #6931

    Hi, I have a site in which only one category is selected to be shown in the front page loop. Everything is fine but the title for older posts pages. The total number of pages in title includes also pages that would be present only if all categories were selected for front page.

    Perhaps I was not very clear, may be is better if you see an example:

    http://www.fieradellest.it/page/2/

    Here you can see that I have only 5 pages for the front page loop, but the title says “page 2 of 14”

    Cheers

    Antonio

    Edit:

    Note also that the pagination plugin shows the correct number of pages.

    Admin

    Syahir Hakim

    #36211

    What plugin are you using to create the custom page title?

    bic

    #36212

    Actually I’m using a plugin (Yoast WordPress SEO), but I tried disabling title rewriting before posting here, and the result was the same. But you are true, if I completely disable the plugin page number in title disappears, so this is plugin related. Sorry for wasting your time.

    Thanks

    Admin

    Syahir Hakim

    #36213

    Try asking the plugin’s author about it. If he says that it’s something that I need to change on my end, post back here and let me know.

    bic

    #36214

    I had no luck with them. I opened a topic in their support forum but got no answer so far.

    Never mind, I’ll live without page number in title, I’ve just removed it in plugin options.

    Prasanna SP

    #36215

    Check Dashboard –> SEO –> Titles and Metas –> Taxonomies. You must be having %%page%% in Title template for Category, like %%category%% - %%page%% - %%sitename%%. Replace it with %%category%% - %%pagenumber%% - %%sitename%%

    bic

    #36216

    Great, I just removed %%page%%, without adding %%pagenumber%%. This really helps, thanks! Even if this way the number 1 appears on the first page title, that is not so nice probably. I’ll see what to do when I’ll be back from my winter holidays, next week. I’m going to play with the snow tomorrow!

    Prasanna SP

    #36217
    Quote:
    Great, I just removed %%page%%, without adding %%pagenumber%%.

    I had replied with just %%category%% - %%sitename%%. Then I edited my post with adding %%pagenumber%%. 😀

    Quote:
    I’m going to play with the snow tomorrow!

    Cool! Enjoy your holidays!

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.