Assuming you want to have a CDN effect or even for some security reasons (we also look into that but CDN will cost us too much (we have over 1TB monthly)), maybe following links will guide you into the right direction.
This info I found here on stackechange itself
These links tell some about using a subdomain as goal but seems also very usefull.
– This link shows explenation for redirecting your images. (or actual your upload dir)
– Another link with info (for subdomains) you find here.
Hopefully it helps you into the right direction. As soon I figured out best way myself I will put answer here also.
Related Posts:
- How to add new tab to media upload manager with custom set of images?
- No Thumbnails Generated
- How to upload files straight to S3 without using local storage? [closed]
- WordPress Media Uploader events
- How to add a custom field to the media screen (image/gallery)?
- Users can’t upload images on frontend if they haven’t got access to the wp backend
- Rename files during upload using variables
- Get an uploaded attachments local server path?
- Change WordPress upload path and URL
- Large Uploads in WordPress
- can not upload file .vtt on wordpress 5.0.1
- Refresh wp.media after ajax call
- Why are double-periods (“..”) invalid in a WordPress image filename?
- wp_editor with media buttons
- How to prevent upload of a multiple sizes of images
- Using “media_handle_sideload” to upload images programmatically does not upload image to Media Library
- Convert uploaded PNG to JPEG automatically
- How to check if an image attachment exists before uploading
- Add new media uploader at frontend for wp 3.5+
- Incremental number handling on duplicate file names
- wp_temp_dir does not change the /tmp temporary default directory
- How to upload all media to one folder, with no year/month subfolders
- Any way to define WP_UPLOADS_URL (like WP_CONTENT_URL)?
- upload files dynamically to user folders
- How to protect media directory with .htaccess?
- Is there a limit on the number of attachments?
- How to delete uploads not in media library?
- How to decrease the file size upload limit?
- Why does SVG upload in Media Library fail if the file does not have an XML tag at the beginning?
- Site icons with alpha channel for self-hosted WordPress blog network
- How can I allow upload of ttf or otf font files when hooking `upload_mimes` doesn’t work
- Can I stop wordpress generating media sizes
- I made a website using WordPress, but the server is ColdFusion, how can I make it work?
- Using subdomain to upload media/images etc on 2 different blogs
- Unable to create directory uploads/2018/12. Is its parent directory writable by the server?
- Can I upload a file to the site so that it is not accessible via an HTML page?
- Calling WP Gallery Uploader/Selector From Metabox
- Disabling direct access to images using .htaccess
- Restrict WordPress Media Library for a specific user role (users can only see/select own media)
- Manual filename while uploading attachments
- Make WordPress compress full size image?
- Move files from flat upload directory to organised by year / month
- Can’t manipulate media uploads
- How to limit the number of simultaneous media uploads?
- Custom media uploader not showing library
- Symbolic link for uploads in wordpress
- Upload iPhone video clips to blog via native WP app
- Process uploads with phpThumb before generating thumbnails
- Resize existing library images
- WP 4.3.1 new install on localhost missing php.ini [closed]
- Large image upload size (using timthumb.php
- How can I manage and limit disk usage for each author?
- How would I change the 10 MB limit to 5 GB in this script?
- Media Library Won’t Display Any Images
- When does WP resize an image file
- How can I modify the media upload form fields?
- More Fields & Media Upload
- Upload Custom Mime Types in WordPress (SVG, WebP)
- “Sorry, this file type is not permitted for security reasons.”
- upload_max_size doesn’t change
- Upload and attach to a post multiple image files [closed]
- Changing titles in Uploader for “Posts”
- WordPress upload file action hook
- Back up uploads folder outside of wp-content?
- Batch upload to create posts each with one image, headline, and body text
- Control resizing of uploaded images
- How to upload prc file type?
- How to add an upload image button (just like the one in the Custom Header) in the Theme Options I just created?
- protect files from downloading on other than my site
- How to add CSV upload functionality on the edit page of a Custom Post Type
- WordPress changing media file name upon upload
- How to remove media by filename?
- Restrict Users to Only Edit Media Owned by Users in Their Role
- media_handle_upload() returns Specified file failed upload test
- How to upload a file and have it available on the post for download?
- WP media upload issues
- Images uploaded via Gutenberg image block are cropped
- Media uploads error
- How to move UPLOADS folder in sub-domain which hosted in another server
- Add file upload with validation to custom form
- How can i link my featured image to be clicked and the file will be downloaded
- Nginx – WordPress Upload only images rule
- Redimension thumbnail crop without creating new images
- Add a image uploader in the posts page backend
- Uploaded image doesn’t show up in media library
- Using media-upload.php – requires user to have edit_posts capability?
- 2 years old website can’t upload and can’t update since today
- Custom upload directory for each file only for current plugin
- WordPress problem uploading new media : File is empty. Please upload something more substantial
- limit the access to uploaded files
- Insert into post or
- Metabox with file upload to custom directory
- How to force attachment size for every post
- Is it possible to upload multiple images via Media Library tab in Thickbox I’ve created?
- How to upload an image using media uploader and return the image link to javascript?
- Frontend file upload works, but I get error “Constant ABSPATH already defined”
- Link or button to open the media manager from frontend
- Attach unzipped files to wordpress
- Bring up the media uploader on click
- How to load file only in single post page through function.php?