See the answer here https://stackoverflow.com/a/13839507/1466973 , which involves sending headers with the appropriate values to cause the ‘save as’ dialog box to appear.
That process will allow you to not provide the URL (which anyone can share), but provide the file (which people can share after they download).
Related Posts:
- How do you retrieve a post by slug name through REST API?
- Custom plugin route in WordPress
- Why is ?doing_wp_cron being appended to my URLs
- use query string in URL to display content on the page
- Change default URL path (/blog/) of blog posts
- Difference between esc_url() and esc_url_raw()
- How to deal with WordPress on localhost
- How to convert the file path to a URL of the same file?
- Add menu and submenu in admin with a URL instead of slug?
- Why is WordPress saving full-urls to the database?
- Get taxonomy slug from url
- Load images with http urls inside https post
- Remove All Query Arg
- Pulling a parameter out of the URL of a WP link without “?” or being sent to a different page
- Run WordPress frontend and backend in different domains
- How to set global variable in functions.php
- Force the Website URL to Include “www” and to be Upper Case?
- WordPress and $_GET Params
- Can’t login after my site was moved to a new server
- List of default WordPress URLs
- Why WP encodes UNICODE (UTF8) containing urls? Any drawbacks of UNICODE url?
- Adding a hook to ‘parse_request’ so that siteurl/pagename/xyz ignores “xyz”
- How to have numeric URLs in Posts and Pages
- Unable to load static front page on home url
- Force home page to be https?
- Why WordPress automatically removes http from the url of my website’s sub domain?
- add_query_arg() One Key with multiple values
- WordPress Move to SSL How to Update Media Assets to HTTPS?
- Moving wp-content outside of web root?
- Generate one time URL
- In Settings>>General I am missing some fields
- Change homepage url
- Adding target and _blank as it’s value to the allowedtags
- How to update media links in WordPress after migration?
- permalink for category pages and posts
- Check what is at URI (post, archive, etc…)
- Get url from file uploaded in Media Library
- How can I change all links on pages to point to a different domain from where the site is hosted?
- Allow UTF-8 characters in the user slug part of URL
- WordPress converting ../url to http://../url
- home_url(); showing current page instead of site address
- Why ids in urls don’t work but slugs do?
- URL parsing – what is it?
- Changing my site url from azure.net to custom domain
- Remove / from www.example.com/ [closed]
- Components used in Themes and Plugins: How to get file URL?
- Can URL remain the same if migrating from Drupal?
- Site URL always in front of other URLs
- Easiest way to simulate WordPress’s URL resolution to retrieve post ID, etc?
- How to add domain security certification, in WordPress website?
- Imported thumbnails have incorrect URL
- Check request URL for pattern
- Is it necessary to check for `content-type` in headers?
- Rewrite WordPress Standard Feed URL – /feed/ to feed.xml
- Set a custom URL for image in the Media Library?
- wp_insert_post – How do I prevent incremental numbers on child pages?
- How to allow — in category name
- Request parameters in $_GET do not match URL called
- WordPress custom search url
- The requested URL was not found only on localhost
- Allow Chinese character on post URL slug
- Dynamic URL based on user_metadata
- How to edit URL Slug?
- How can I change a media attachment URL/slug, so that I can use that slug for a page?
- Check if user is logged in to site A when visiting site B
- Publish Post when URL is available else reschedule the post in wordpress [duplicate]
- Change url links on members loops in buddypress
- Problem with utf8 link
- remove query string from homepage url
- Twitter shortlink 404 not found [closed]
- Remove Trailing Slash from Category Base and Tag Base
- Find file url in post content and add it to media library
- Localhost port is missing on some links after downgrading MAMP [closed]
- How to handle this URL Structure. Keep getting “page not found”
- Avoid the removal of “https:” from URLs
- Content duplication issue with dynamic URLs
- Custom url in wordpress
- rewrite taxonomy-{taxonomy}-{term}.php terms
- Why am I seeing all these weird ‘loginid’ requests?
- Confusion about Site url and directory
- WP URL /icons returns 403 forbidden error
- Multiple URLs with Numbers
- Remove trailing slash from previous_posts_link()
- Get root folder without domain
- hijacking home_url for root relative paths
- wordpress.com website url structure [closed]
- How to properly print a 404 error without redirecton? (i.e. keeping the current URL)
- Will get_bloginfo(‘url’) return URL with backslash?
- Can anybody provide me with a function to generate slugs?
- HTTP 403 Error when passing parameters to URL
- WordPress get parameter ‘unapproved’ and ‘moderation-hash’
- How to remove my website link when adding a link?
- Is there RELATIVE_PATH, like ABSPATH
- Accessing WordPress using “localhost” and local ip at the same time
- Misentered the site address url. How to recover? [closed]
- How to make pages slug have priority over any category
- How to call for bloginfo inside function in functions.php?
- Website Address Keep redirect to website after migration attempt
- How can I identify which file/function will be used to respond to a particular URL?
- Porting site URLs to new host but with same domain name [closed]