Allow external links in navigation menu or auto-redirect on custom pages

This has to do with the pseudo-integration with OJS. All of our OJS links in navigation or custom pages redirect to our categories on pubpub. Unfortunately, pubpub menu items can only link to internal links. I tried to include an html block on https://cursor.pubpub.org/print to redirect automatically to https://journals.ub.uni-heidelberg.de/index.php/cursor_test/print/ but I guess js is disabled.

1 Like

Yup, we should do this. Will add to roadmap.

Only thing I’m trying to think through is whether there’s any risk of abuse? I think Medium argued that at one point. But mostly the justifications for not allowing site-wide external links feel like they stem more from wanting to keep readers on-platform to boost metrics, which isn’t a goal of ours.

In the very short term, you can use banner blocks to link externally on key pages.

1 Like

The only security risk I’ve heard about with external links is if you force them into a new tab: https://www.owasp.org/index.php/Reverse_Tabnabbing

This is easily fixed if you do set target=_blank - and isn’t a concern if the external link is loaded in the same tab.

I can’t figure out what abuse Medium would’ve claimed is possible - other than phishing scams on sites that look identical. But, that’s going to be a problem with any external link in any site.

is this feature available with the newest update? Otherwise we have to figure out how to do ideally seamless redirects from html pages in pubpub :laughing:

Unfortunately, no. But there’s a ticket for it and we can prioritize it in the next few weeks if you’re finding yourself needing it soon.

1 Like

That would be cool! Our higher-ed publisher wants our users to download final pdfs through their OJS and we’d like to minimize redundancy or glitches in the user experience.

Ah. Allowing the download to reference a link is actually a separate thing that we had planned on, but it looks like a ticket didn’t get made.

Here’s a ticket for that:

Yes, I know. I meant the other thing (direct URL in horizontal menu to publisher’s download page), but external URLs for download buttons are useful as well. Thanks a lot!

Ah, I see, sorry. Can you send an example of what their OJS download page looks like? Haven’t seen/heard of that before.