Well, what you want to achieve saving uploads in another domain? You want to share the uploads folder with another domain?
Did you know you can use more than one domain (site) in a single WordPress Installation? It’s called Multisite:
https://premium.wpmudev.org/blog/ultimate-guide-multisite/
To change the upload dir. Just use the filter upload_dir. It’s documented here:
https://codex.wordpress.org/Plugin_API/Filter_Reference/upload_dir
Be happy!
Related Posts:
- Could a large quantity of files in the uploads folder affect performance?
- How to set custom upload directory per user after moving content directory
- Saving WordPress generated thumbnails in a subdirectory
- Prevent a folder from being shown within the media library
- move_uploaded_file() not working on wordpress front end
- Move files from flat upload directory to organised by year / month
- Flat media folder vs multiple directories
- how to change wp upload directory to another domain directory
- Anybody knows if i could upload a leaflet or openlayers3 map to wordpress webpage?
- How to change default upload dir?
- How use custom upload directories in filesystem and url based on media type or category
- Media Upload Directory to MMYY instead of YYYY/MM
- Question regarding the file path for media_sideload_image and wp_upload_dir()
- Change upload directory for PDF files
- Set limit to media upload?
- Use a separate custom table (not posts) to handle file upload data
- WP 3.3 > Still no option to enable automatic image overwrites?
- Custom upload directory per CPT; when removed, file not deleted
- Modify featured image path to Amazon S3
- How to set an upload directory for each media type?
- How to protect uploads in multisite if user is not logged in?
- How to get WordPress to save upload file beyond web root [closed]
- uploading files to the uploads folder via ftp
- Modify the array of selected images in media modal
- How can I upload SVG images using the media uploader?
- Remove upload_files capability from a role but allow role to manage an avatar image
- 3.5 media manager add CSS / JS to new ‘tab’ iframe content
- post_id missing from the wp-admin file upload request
- How can I upload a csv file into WordPress?
- How to link to the image editor’s Edit Image function?
- Image uploading stuck on “crunching”
- HTTP Error when uploading mp4 video file
- Change the size of the image preview on the media edit page
- Disable to create folders for every years and months in uploads folder
- “upload_mimes” filter not working. Need to allow WOFF and WOFF2
- Whole bunch of errors on WP website – media upload, edit slugs, edit screen not working [closed]
- Add select field to media uploader that adds a class to the image
- Retroactively place uploaded media into -month, -year based folders?
- Can’t seem to upload a file to a custom directory
- wp.media add context
- Conditional add_filter for upload directory?
- Need to download uploaded binary file
- Insert Image automatically when upload finishes wordpress media uploader
- How do I modify the url of uploaded media content?
- WordPress “HTTP error.” when uploading Media – IIS
- WordPress uploads folder path. how it is decided?
- Uploading images on front end doesn’t generate thumbnail sizes
- Adding Media Upload to Custom Options Panel breaks “Insert into Post”
- WordPress bug with capabilities?
- Media Library does not show the uploaded image
- Attach Thumbnail Generated from Video Upload as Featured Image for the Video
- Manipulate CSV data during upload, is it possible?
- Check if uploaded file has a specific filename
- How to submit data between wp_iframe and backbone.js in media upload
- Uploading .mp3 files http error – 2 “exact” files one successful other fails
- HTTP Error after finishing uploading a video that is bigger than 64 MB -> After raising the upload limit manually in the wp-config file
- What are best practices to storing uploads in WordPress?
- Original image not saving?
- Restrict role to view own media
- Create featured image from a remote url when creating a post
- Image resizing – TimThumb vs convert on upload?
- File names are being overridden when uploading new media
- Change the look of the media uploader
- Issue with images which have no sizes available
- Is it safe to upload JSON files to upload folder?
- Unable to upload file more than 1MB in size
- WordPress media upload issue could not insert attachment into the database
- Thumbnail images missing in WP media library
- Can’t upload images (incorrect “file exceeds upload_max_filesize” error)
- Theoretical limit of upload file size [duplicate]
- Remove Media File Items From Server That Do Not Exist in Media Library
- How to add filetype to meta value when using wp_upload_bits?
- All my files are on my blog! I need sync solution
- Efficient way to move media folder to another folder
- Limit users to specific uploads
- media file uploading
- What is wrong with my wp_insert_attachment code?
- Editor User Role can’t see other users media
- How to allow .ged file uploads
- Media files not loading
- problem when uploading file by metaboxes
- Set attachment category from file name on upload
- HTTP Error WordPress on IIS uploading image
- What folder to place Large Video files?
- WordPress Upload Speed
- Organizing the Media Library for Cleanup
- Allow author to upload image via Media button without plugin
- Failed to load resource at admin screen
- Make custom thumbnail size image in media_sideload_image function
- Upload more than one media files with a post
- Primary site file uploads failing, subdirectory subsites upload fine
- Upload file to front-end form and send as email attachment
- uploading photos
- Single file upload
- Host Images from Link
- Upload media error: unable to create directory (windows hosting)
- Add frontend editor with media buttons for Visitors and display only their media
- Can’t upload files 1MB+ [closed]
- WordPress Custom Fonts Problem! [closed]
- I want to customize wp.media (the wordpress admin uploader) in order to change the file name but only in video custom post type