Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

pagination with <a> tag

         

abdulrahmankz

5:36 pm on Jul 13, 2024 (gmt 0)

Top Contributors Of The Month



how to change pagination tag from link rel= to <a> as google recommends for search engine to index

not2easy

7:14 pm on Jul 13, 2024 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Where are you seeing a rel= pagination tag? I'm just curious because a typical page link that I see is a link like any other: https://example.com/page/2/ but I would not want that indexed because it would be an archive page.

In general you want to be careful of indexing archives or site-search results pages pages because they are duplicated with their own page or post address/URL. WP is great for making things easy to find, but you don't want to try to index the same content in multiple ways.

abdulrahmankz

8:11 pm on Jul 13, 2024 (gmt 0)

Top Contributors Of The Month



there is an issue with pagination the link is in <link rel =url> as Screaming frog

issue type: pagination url is not in anchor tag

recommended solution to this issue as screaming frog says
ensure paginated URLs are linked within <a> tags
this will allow them to be crawled and indexed, and pass PageRank onto any URLs they link to.

i need to change to anchor tag which is <a> tag

in wordpress

not2easy

8:30 pm on Jul 13, 2024 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Where are you adding these links? WP normally handles pagination URLs in their own settings, automatically. You may possibly find a place in your functions.php file, not necessarily.