• Resolved Nikita_Sp

    (@nikitasp)


    Hi!

    There is the issue I’ve faced with the update.

    Where: categories and archive pagination.
    What: meta description is empty on 1st page (it’s free version), on page >1 there is an empty meta description with ” – Page {n}”, where {n} – is current page number.

    The problem: it seems (logical) if the description is EMPTY it should stay empty for all the pages, shouldn’t it?

    I’ve already got some solution for meta description on that pages that I want, but now I get 2 meta description tags.

    And there is no way to prevent output. Even when I disable the meta for this type of object, I get this result + noindex adds.

    Why? If I want to handle meta for this object by myself? I don’t need noindex.
    How should I resolve this issue?

    Thanks.

Viewing 8 replies - 16 through 23 (of 23 total)
  • Plugin Support Steve M

    (@wpsmort)

    @nikitasp You can find that setting under All in One SEO > Search Appearance > Advanced > Global Robots Meta. If you click on that toggle you’ll see checkboxes for No Index Paginated and No Follow Paginated.

    Thread Starter Nikita_Sp

    (@nikitasp)

    @wpsmort sorry for the long delay – seems you’ve fixed that in one of the updates, but I’ve got the issue again.

    We’ve got EMPTY category meta description (because it’s not a Pro version, so we physically can’t set it) and on the category first page – meta description is empty (is not set by AIOSP).

    BUT, if I get page 2, 3, etc – I’ve got meta description = ‘ – Page {n}’.
    Why?

    P.S. effects only on post categories. Archives seems works fine.
    Thanks.

    Thread Starter Nikita_Sp

    (@nikitasp)

    Also I can see <meta name="robots" content="noindex, nofollow, max-image-preview:large"/> on pagination pages. I’ve checked All in One SEO > Search Appearance > Taxonomies > Advanced – use defualt settings is ON. No custom settings is set.

    Thread Starter Nikita_Sp

    (@nikitasp)

    There was no such a mistake in version <!-- All in One SEO 4.1.0.2 -->.
    And how can I remove noindex, nofollow? The settings are not working (or I can’t understand the algorythm) under “All in One SEO > Search Appearance > Taxonomies > Advanced – use defualt settings (disable) – toggle checkboxes – gives no effect.

    If authors won’t fix this issue and you need fast 100% working solution to remove empty description is:

    
    // Remove AIOSP empty description ( - Page {n}) on pagination page
    add_filter( 'aioseo_description', 'aioseo_filter_description' );
    function aioseo_filter_description( $description ) {
    	if ( is_tax() || is_category() || is_tag() || is_post_type_archive()){
    		return '';
    	}
    
    	return $description;
    }
    • This reply was modified 3 years, 2 months ago by Nikita_Sp.
    Plugin Author arnaudbroes

    (@arnaudbroes)

    @nikitasp I cannot reproduce this on a test site. Paginated categories do not have a description when the format is blank. Can you post a link to where this is happening?

    With regard to the robots meta tag setting, this might not be entirely clear but if you set the taxonomy to “Use Defaults”, it will pull from the global robots meta settings under Search Appearance > Advanced. This is where you’ll find a setting for “No Index Paginated” which you can disable if you like.

    Thread Starter Nikita_Sp

    (@nikitasp)

    @arnaudbroes I’m talking NOT about the format. I’m about the field for THE ITEM (on the category page – it’s not even activated because of NOT a pro version of the plugin).

    So my idea is: if it’s not a PRO version of the plugin and we can’t set the description for the category main page – it shouldn’t output description on 2 and others pagination pages.

    About the robots: for this type of taxonomy (category) in Search Appearance > Taxonomies Tab -> Categories block -> Advanced Tab there is checked option “Use defaults”.

    In Search Appearance > Advanced Tab there is a (first checkbox) option “Common meta robots” (aioseo-robots-meta field name, because I’ve got russian language in admin and can’t say the original option name) and it’s checked.

    The issue: i need all the pagination pages remove noindex, nofollow and manage them as I need. Now all the archives works like a charm. Categories got noindex, nofollow. Maybe I would need noindex, follow. How do I set it?

    Thanks.

    Plugin Author arnaudbroes

    (@arnaudbroes)

    @nikitasp You need to uncheck that option. Then you’ll see a bunch of checkboxes, including the No Index Paginated and No Follow Paginated which you can then disable however you like.

    With regard to the description, that isn’t possible through the settings. If you have a default format set for Categories (or any other taxonomy), both the main and paginated pages will use that default format for the description.

    If you want to remove the description for those paginated category pages, then you can use our filter hook to wipe them out if you like – https://aioseo.com/docs/aioseo_description/

    An example code snippet –

    add_filter( 'aioseo_description', 'aioseo_filter_description' );
    
    function aioseo_filter_description( $description ) {
       if ( is_category() && is_paged() ) {
          return '';
       }
       return $description;
    }
    Thread Starter Nikita_Sp

    (@nikitasp)

    @arnaudbroes Thanks, I got now how robots and options works.
    Thanks.

    About the description – this is the way I’ve used to be sure that new settings won’t brake anything.

    Thanks.

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Pagination meta description’ is closed to new replies.