websailing
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Change Media Upload DirectoryHi @omokenny
I feed sorry that the symlinks did not work for you. In my opinion, there is no easy solution for your problem.Generally, all media files are stored in the local folder and in the database of wordpress, too. The core functions of wortdpress simply do not support access to external storage systems.
There are a few plugins out there, but most of them simply copy external media files into your local folder.
However, I found a plugin that allows you to import external files as a link. It is no perfect solution, but maybe it could solve your problem:
https://wordpress.org/plugins/external-media-without-import/
Furthermore, I run out of ideas. Maybe someone else can help you.
Forum: Fixing WordPress
In reply to: Change Media Upload DirectoryIn this case you can mirror your wordpress file directory to a directory on the subdomain via symlink. A symlink creates a second entrance to a directory.
1. Create a new files folder on the subdomain
2. Delete your old wordpress files folder
3. At the position of ypur old folder, create a symlink with exact the same name.The syntax for creating a symlink you can find here:
https://en.wikipedia.org/wiki/Symbolic_linkForum: Fixing WordPress
In reply to: Change Media Upload DirectoryWith different domains, things are becoming a little bit complicated.
It is possible, if subdomain and installation domain are located in the same directory on the same server.
For different directorys on the same server, you could use symlinks. Actually, you need a server with ssh login to do so.
For different servers, you need to setup a CDN. There are CDN plugins out there, but you need some expertise for setup.
I hope this will help you out.
Forum: Fixing WordPress
In reply to: Change Media Upload DirectoryHey!
Open the file named “wp-config.php” in your text editor. You can find it in the root folder of your website. At the end of this file insert the following code:define(‘UPLOADS’, ‘yourfolder’);
Just replace “yourfolder” with the name of your new upload folder and save. This should do the job.