Support » Plugin: SEO Ultimate » [Plugin: SEO Ultimate] Page numbers not displayed in category pages

Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter Praveen Kumar

    (@spk100)

    For now, i have switched over to All in SEO, but would love to get this issue fixed and revert back to SEO Ultimate

    I have the same problem, it gives dublicate content not that SEO if you ask me !!!

    I funde a solution, here you go :

    plugins\seo-ultimate\modules\meta\meta-descriptions.php

    Goto this section : //Do we have a description? If so, output it.

    And replace the code this this :
    //Do we have a description? If so, output it.
    if ($desc) {
    $desc = su_esc_attr($desc);
    $paged = get_query_var(‘paged’);
    if($paged >= 2)
    { $desc = “Page ” . $paged . “, ” . $desc; }
    else{}
    echo “\t<meta name=\”description\” content=\”$desc\” />\n”;
    }

    Now you have page number in the meta description if there is a page 2

    Thread Starter Praveen Kumar

    (@spk100)

    rchelidk – Awesome 🙂 Thank you. I will make this change.

    But this adds the page number to the meta description.
    Can we do the same for Page title?

    Yes i think so, but i don’t think that is a problem !

    I just checked, i have a – Page 2 at the end of the title, so it is no problem 🙂

    Thread Starter Praveen Kumar

    (@spk100)

    I do not have a – Page 2 at the end of the title, so the issue is still present 🙁

    It is properly hooked in the theme !

    but the code you need to use is this part :

    $paged = get_query_var(‘paged’);
    if($paged >= 2)
    { $desc = “Page ” . $paged . “, ” . $desc; }
    else{}

    And then change $desc to something with title, i haven’t looked in to it, but it seem simple if you know your way around PHP.

    Thread Starter Praveen Kumar

    (@spk100)

    Since title tag rewriter is a diff module, i guess i should be looking at that file.
    right?

    what about wp-content\plugins\seo-ultimate\modules\titles\titles.php ?

    Thread Starter Praveen Kumar

    (@spk100)

    wp-content\plugins\seo-ultimate\modules\titles\titles.php

    This is the file that deals with the Page Title, since i am not getting – Page x at the end of the Title, should i do something in this file to get it right?

    ps: my php skills are not that great.

    Did you install the seo ultimate plugin ? i got this line in the titles.php file

    array(‘{title}’, ‘{num}’, ‘{max}’), that indicates there is a number at the end of the title !!! why is that not working for you ?

    Thread Starter Praveen Kumar

    (@spk100)

    Yes, i have now reactivated the seo ultimate plugin.

    And the titles.php has that line that you mentioned.

    http://www.easycocktailrecipes.com/category/mocktail-recipes/page/2/

    the change that you mentioned above is working fine, but the page 2 is not at the end of <title> tag 🙁

    my theme header has this
    <title><?php wp_title(”); ?></title>

    i am not sure, i don’t think i can help, because i think it is your theme making the changes to the title.

    Try a preview with a different theme, to see if it is the theme, else there must be a setting in seo ultimate maybe !

    Cool site by the way 🙂

    Thread Starter Praveen Kumar

    (@spk100)

    Thank you. Really appreciate it.

    I have gone through my theme’s code fully and i was able to replicate this issue with another theme as well. So i guess i will have to wait for the dev to respond.

    Plugin Contributor John

    (@johnlamansky)

    Hi Praveen,

    What is the value of your “Pagination Title Format” field on the “Default Formats” tab of the Title Tag Rewriter module?

    – John

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘[Plugin: SEO Ultimate] Page numbers not displayed in category pages’ is closed to new replies.