New path is not visible in source code
-
Hi,
Nice plugin!
I’ve manually customized the path structure of where media files are stored. In wp-config.php file, I’ve added define(‘UPLOADS’, ‘medias’); after require_once(ABSPATH.’wp-settings.php’); declaration. Upload works as it should be. Then, I saw Upload URL and Path Enabler plugin could help me having subdomain image storing option. ?? I want this kind of URL structure: https://medias.example.com/image.jpg. So I added “https://medias.example.com” in the Full URL path to files field. I also filled Store upload in this folder field with “medias”. If I can see all my images through https://medias.example.com/ (https://medias.example.com/image.jpg is OK), when I upload a new one, and I have a look in the source code of a post, the path to the image is still https://www.example.com/medias/image.jpg.
How could I see https://medias.example.com/image.jpg in the source code of my post when there’s image in this content?
Would be nice if you had a solution to “relocate” (editing path of the) previous uploaded images too. ??
- The topic ‘New path is not visible in source code’ is closed to new replies.