-
maximus
Hi. Why when we check via screaming frog we had this error?
How to solve this issue? -
Alvind
Hi there,
We can follow the suggestion in the ‘How to fix’ section of your screenshot. To do that, add this snippet:
add_filter('paginate_links_output', function($output, $args) { $output = str_replace('class="prev', 'rel="prev" class="prev', $output); $output = str_replace('class="next', 'rel="next" class="next', $output); return $output; }, 20, 2);
Adding PHP: https://docs.generatepress.com/article/adding-php/
-
maximus
Hi we already put this code via code snippet as you suggest
Please recheck again. Because we check the error still appear? -
Alvind
As you can see, the
rel="next"
andrel="prev"
attributes have been added to the pagination links, just as suggested: https://postimg.cc/BLtnBqJ8Not sure why Screaming Frog did not pick up the changes, but you may need to give it a little time and retest.
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.