Michael McHugh

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
in reply to: Permalink directly to file URL? #192685

Michael McHugh
Participant

One more question on this. I noticed that the direct download link https://site.io/download/my-file/?wpdmdl=PACKAGE_ID method will directly download the file.

Is there a different format for this URL that would not force a download, but open it in a browser tab instead? e.g. a View Link format?

Related, I see there is an ‘Open in Browser‘ option in the admin, but this doesn’t open in a new tab, it overtakes the current tab, which is not desirable. It’d be nice if this setting had an option to open the link in a new tab. Is there a way to do that?

in reply to: Permalink directly to file URL? #192684

Michael McHugh
Participant

Never mind. I think you meant “All Files”.

The URL format you provided will work. That link is a lot shorter than the Master Download link, which is very long.

That link would be convenient to have copy-able from the “All Files” page along with the shortcode.

Both of these—the shortcode and the shorter download link would be good to have on each Item’s page as well.

Thanks.

in reply to: Permalink directly to file URL? #192683

Michael McHugh
Participant

You can copy the master download link of a package from the ‘Al Files’ admin page.

What/where is the “‘Al Files’ admin page” ? Can you provide a path and/or screenshot of what you’re referring to?

The direct download link https://site.io/download/my-file/?wpdmdl=PACKAGE_ID method works, but not directly provided anywhere.

It’d be nice if the direct download link was shown/copyable on the Item’s admin page.

in reply to: Permalink directly to file URL? #192650

Michael McHugh
Participant

That’s good to know, but no, I’m talking about the actual permalink of the Download Manager item page.

I’d like to redirect it to the download media file itself, rather than the Download Manager item page.

I want to create ‘copy link’ links in the descriptions so our staff can copy the file URL to send to customers, like in this screenshot:

https://www.dropbox.com/s/v47y2i6y28ub0ts/Screenshot%202024-01-25%20at%201.34.57%E2%80%AFAM.png?dl=0

I created short redirects to the permalinks, but then realized the permalink goes to an item page, like this:

https://www.dropbox.com/s/gowpoifsioyrgw7/Screenshot%202024-01-25%20at%201.38.15%E2%80%AFAM.png?dl=0

So, I’m looking for a way to make all the permalinks, e.g. ‘https://digitalfusion.net/download/df-print-fulfillment-services/’ link to the media file directly and not the page as it does now.

SEO plugins like Rank Math and All-in-One SEO have features to do this for the actual Media Library item pages, but it doesn’t work on these Download pages.

Does that all make sense?

Is there a template for those pages that can be edited to do this via a child theme, perhaps?

Btw, that “Open in browser” setting should have an option to open the file in a new tab/window.

Thanks,
Michael

Viewing 4 posts - 1 through 4 (of 4 total)