• Is there a way to selectively implement (or block) the rel=”noopener noreferrer” code that is automatically inserted on every link when I use the target=_blank attribute?

    Users are complaining they get “page not found” errors when they attempt to download the free PDFs I offer on my site.

    And I offer many, so this is a royal PITA.

    Talk about the Law of Unintended Consequences.

    Any thoughts on a solution to this would be greatly appreciated. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • If I understand problem correctly, you could try WordPress Download Manager plugin or Download Monitor plugin

    Thread Starter FloridaGal

    (@lindafar)

    Thanks, appreciate your input but these are way than what I need.

    I simply link to the PDFs I have on my server from a page or post and people can download it free. This has worked fine for a good 7 years so IF I don’t open old pages/posts I’m fine.

    I’ve figured a work around but it’s not very elegant. If I switch to the code view (Text tab) of a page or post, I can remove the code that is added automatically (rel=”noopener noreferrer”) and save the page/post. Then leave the page/post without switching back to the Visual tab, the code is effectively removed.

    However when you have a page/post with dozens of download links on it, it is a real waste of time having to edit out all the automatically-added code every time I want to add something new to the page (or even just LOOK at it!).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘rel=”noopener noreferrer” causes “page not found” problems with PDF downloads’ is closed to new replies.