TransWikia.com

Change wordpress default upload path to another domain

WordPress Development Asked by Eni Kazemi on November 19, 2021

I have a domain, for example tarikhema.org. I want to change WordPress default upload patch folder to another domain for example dtours.net. How can I do this?

My default folder is tarikhema.org/images/....
I want this: dtours.net/images/....

Uploads Settings

One Answer

You can't do that. WordPress can store files only in its own uploads folder (or at least in the same root where the WordPress is installed. You can't upload files to remote website (different domain).

What you can do is to add the second domain as an alias to your main domain, and in that case, all URL's from the main domain will match the alias domain too.

Answered by Milan Petrovic on November 19, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP