• Resolved russiainpillole

    (@russiainpillole)


    Hello there!

    I need help to solve a problem Screaming Frog highlighted as a high priority issue and is caused by Yoast SEO. Basically, as they state ” URLs contained in either, or both, the?rel=”next”?and?rel=”prev”?attributes of the page, are not found as a hyperlink in an HTML anchor element on the page itself….To fix this, snsure paginated URLs are linked to within?<a>?tags. This will allow them to be crawled and indexed, and pass PageRank onto any URLs they link to.”

    Can someone explain me how do I change this as explained above, so that it’s included in <a>?tags?

    I tried everything, but couldn’t find a way to change it!

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Mushrit Shabnam

    (@611shabnam)

    Hi @russiainpillole

    The Yoast SEO plugin adds the?rel="prev"?&?rel="next"?tags to help deal with?paginated content, as well as the?canonical URL. So you may want to open the page source of the affected page and check if the rel=”next”?and?rel=”prev”?attributes appear in the page source.

    Thread Starter russiainpillole

    (@russiainpillole)

    Hi Mishrit,

    Thank you for your fast reply!

    Yes, I checked the page source of the affected page (which is the homepage of my website) and it indeed has a rel next tag as showed in the previous picture.

    This tag creates an issue, the one you will find described in Picture 1 below, together with the way how to fix it (Picture 2).

    Problem

    Solution

    Can you advise on how to achieve this solution?

    Thank you!

    I recently encountered an issue where pagination URLs were not properly enclosed in anchor tags, causing navigation problems on my site. After some investigation, I discovered that Yoast SEO was the culprit. This plugin, while fantastic for SEO optimization, can sometimes interfere with pagination settings.

    To resolve this, I adjusted the Yoast settings and ensured that pagination URLs were correctly implemented. It’s crucial to check the advanced settings and modify the way Yoast handles pagination. Alternatively, you can add custom code to your theme’s functions.php file to manually correct the pagination structure.

    This fix not only restored proper navigation but also maintained the SEO benefits provided by Yoast. If you’re facing similar issues, double-check your Yoast settings and consider consulting their support documentation or forums for specific guidance. please check my Web…. carlist malaysia

    Hope this helps anyone experiencing the same problem!

    Plugin Support Maybellyne

    (@maybellyne)

    The?rel="next"?and?rel="prev"?tags for paginated pages are outputted in the?wordpress-seo/src/helpers/pagination-helper.php?file. Look for the line with?wpseo_disable_adjacent_rel_links

    You can also read more at https://yoast.com/rel-next-prev-paginated-archives/

    Plugin Support Jose Varghese

    (@josevarghese)

    This thread was marked resolved due to a lack of recent activity. The original poster can change the status to Not Resolved to re-open the issue or open a new topic.

    If you are not the original poster but have a similar issue, please open a new topic.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Pagination URL Not In Anchor Tag caused by Yoast SEO’ is closed to new replies.