pywb icon indicating copy to clipboard operation
pywb copied to clipboard

Disable redirect for external urls

Open goapunk opened this issue 3 years ago • 1 comments

Describe the solution you'd like

Firstly, thanks for this great project! Maybe this already exists and I was to dumb to find it but: It would be great if there was an easy way to disable the redirect for some links/buttons (for example in a header or footer) which lead to external sites. Clicking on them currently will lead to a URL NOT FOUND. Instead it should just open the actual external page. So basically what I would like to have is:

  • button [with an internal url/path of the archived website] -> open/redirect to archive
  • button [external url] -> no rewrite/redirect, open actual page

I've been using nginx to rewrite the archive urls back to their actual url for a while but browsers seem to block those redirects now if the target sites disallow embedding of their page.

goapunk avatar Jun 17 '22 10:06 goapunk