Change cache folder wp-content in URL
-
I am able to change the cache folder with the below code.
define(‘AUTOPTIMIZE_CACHE_CHILD_DIR’,’/theme/’);
define(‘AUTOPTIMIZE_CACHEFILE_PREFIX’,’theme_’);However the URL still includes the “wp-content” folder
https://www.mywebsite.com/wp-content/theme/js/theme_single_ab002cc40f47376ce093d6c386877780.jsIs there a way to change the wp-content folder to the defined uploads folder? I have the below as my defined uploads directory
define( ‘UPLOADS’, ‘media’ );
So I would rather have the defined uploads directory than wp-content like below:
https://www.mywebsite.com/media/theme/js/theme_single_ab002cc40f47376ce093d6c386877780.jsOr if there is a way to have it without the defined uploads folder “media” as below:
https://www.mywebsite.com/theme/js/theme_single_ab002cc40f47376ce093d6c386877780.jsIf its possible what should the permissions be set at for the custom folder?
I do not like having any reference to WordPress on my website if possible.
Please let me know if its possible.
Thank you for a fantastic plugin!
The topic ‘Change cache folder wp-content in URL’ is closed to new replies.