I have several links (to content lists) which I have designated external in the form "www.example.com/categoryA/."
Each link opens a new window (as expected) and lists the content using a pager at the bottom of the page.
I would like all successive pages to open in the same window as the original page (ie the one that opened on clicking the original link). The next page (page 2) has a url "www.example.com/categoryA/subcategoryA?page=1"

Is it possible to come up with a pattern (for the "Exclude Links Matching the Pattern" box) that will mean all successive pages are opened in the original popup window?
As I have many of these links I would prefer something generic of the form "www.example.com/categoryA/*****?page=n" rather than having to type a whole list in.

Comments

quicksketch’s picture

You can exclude all pager links by using a pattern that simply contains ?page=. The pattern would be \?page=, though you'll have a problem where the first page doesn't contain page=0, so going back to the first page will still be treated as an external link. In which case you need to exclude that path specifically also.

(categoryA/subcategoryA)|(\?page=)

Glenmoore’s picture

Status: Active » Fixed

Brilliant, thank you so much for your help.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.