Close

Account

Documentation

Forum

Menu

Issue with Yoast SEO

  • Post count: 49
    promicabana
    March 7, 2018 at 1:50 am #29307

    Hi,

    can you please make Jnews more compatible with Yoast SEO? I mean it’s compatible for sure, but not on static paginated front pages.

    The canonical tag refers to page 1 regardless if you are on page 3, 4, 5 or whatever. You actually have this kind of problem in your demo too.

    Home 2

    The canonical tag points clearly to the first page https://jnews.io/travel/home-2/.

    The next/prev markup of Yoast SEO is missing too on static front pages. It’s the same issue like it is described here: https://github.com/Yoast/wordpress-seo/issues/437

    Can you please provide a workaround for this? Since the Yoast guys are not really helpful guys. It’s a problem that persists for years now.

    Thank you very much for your help!

    Post count: 49
    promicabana
    March 7, 2018 at 2:20 am #29308

    Maybe it’s he same issue as you read here: https://github.com/Yoast/wordpress-seo/issues/6078

    It seems there is some sort of problematic coding in many WP themes (at least on static front pages) that are preventing Yoast to add the correct canonicals and next/prevs.

    Post count: 49
    promicabana
    March 7, 2018 at 2:46 am #29309

    Sorry, to bother you again. The official site: https://kb.yoast.com/kb/is-the-plugin-compatible-with-paginated-content/

    Post count: 10705
    Adek
    March 7, 2018 at 10:20 am #29331

    Hi promicabana,

    For the front page and this demo https://jnews.io/travel/home-2/ for an example. On that page, the canonical URL will still refer to https://jnews.io/travel/home-2/ even on page 2, 3 and so on. It because that page it’s not archive page or pagination content (like single post). At the bottom, it’s using Page Loop element.

    Let me know if you have further question.

    Thank you

    Post count: 49
    promicabana
    March 7, 2018 at 2:26 pm #29342

    Hi Adek,

    thanks for your message. I know that, but it is wrong.

    Google should crawl and access all pages on my site, even it’s just a page 2 or 3. In my case the static front page is like an archive. From Yoast…

    Faulty canonical URLs: common issues
    There is a multitude of cases out there showing that a wrong rel=canonical implementation can lead to huge issues. I know of several sites that had the canonical on their homepage point to an article and completely lost their home page from the search results. There are more things you shouldn’t do with rel=canonical. Let me list the most important ones:

    Don’t canonicalize a paginated archive to page 1. The rel=canonical on page 2 should point to page 2. If you point it to page 1, search engines will actually not index the links on those deeper archive pages…

    Please offer a solution for this. Or at least tell me please how I get this exact same look on a non-static front page: https://we-love-mallorca.de, then the canonical-stuff & next/prev stuff would work.

    Thanks!

    Post count: 10705
    Adek
    March 9, 2018 at 9:27 am #29407

    Hi promicabana,

    Please try to put this code below into functions.php file:

    Thank you

You must be logged in to reply to this topic.