For example, I have link rel prev & next set up on these pages of products:


(this is my preferred structure by the way and I'm trying to get all the ugly URLs which are littered with query variables deindexed as they are causing duplicate content).

So the above URLs are fine but once a filter to narrow product results is selected, like "price", the URL shows like this:


As of right now, I am having the link rel prev & next dynamically added to the header of these pages but since I am working on getting these query variable URLs pages deindexed, I am wondering if I should get rid of it on these pages? Any thoughts?


2 Answers 2


The rel values next and prev are not only useful to search engines. They denote the relationship type, i.e. how the link target is related to the current page.

So, why would you want to omit them? They have no influence on (de)indexing if you block the pages with robots.txt resp. robots-meta.

You wouldn’t stop using semantic HTML for pages to be deindexed either, right?


If you are working to get these deindexed then there is no point having these tags as Google wont read them.

I would probably also block these types of pages myself, as more than likely they will just be duplicate pages if they are 'sort-by' options.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.