CDN Mapping incorrect URL




Wordpress LScache Plugin: CDN Mapping incorrect URL

Last Updated on: Wed, 15 Apr 2026 00:00:02
I want to deliver js and CSS files through Cloudflare r2 storage CDN with subdomain. Origian url: //gamenewsmania.in/ CDN url: https://files.gamenewsmania.in/ The problem is i hosted my files directly in root directory. Suppose. https://files.gamenewsmania.in/my-file.js But after enabling mapping on Litespeed plugin. It converts to From https://gamenewsmania.in/wp-includes/js/jquery/jquery.min.js To https://files.gamenewsmania.in/wp-includes/js/jquery/jquery.min.js But I dont want to add folders like wp-includes/js/jquery I want like https://files.gamenewsmania.in/jquery.min.js Without any folder. Because I can host files only without making folders on Cloudflare r2 storage. Please give solution to remove folder names from the CDN Mapping URLs. Thank you. The page I need help with: https://gamenewsmania.in if all of your files are in the root dir , then I think this is not possible with LSCWP it just replaces the URL , which it requires certain structure , if all files are within root path / , then there is no pattern for plugin to replace



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference