Request initiator chain contains old CDN

It’s possible the script is coming from the database. If you have access to WP CLI, you can use the db search command to search for occurrences in the database, and then the search-replace command to update the occurrences. You’ll likely also want to consider searching for https://https://, as that appears to be occurring in … Read more

How to load plugin static data from cloudfront

There are already plugins to do the rewrites. For example, CDN Linker. By default, it loads / rewrites the static content for ‘wp-includes’ and ‘wp-content’. You may change this default behaviour after the installation / activation or fork it to let this plugin rewrite only the data from the plugins directory.

How to use Virtual Private Server as WordPress Image CDN

It sounds you want to do something similar as described in this article https://surpriseazwebservices.com/serve-images-from-sub-domain-in-wordpress/. You’ll need to define your upload_url_path as your private server and also update the path of your existing images by running the following query in MySQL. UPDATE wp_posts SET post_content = REPLACE (post_content,’http://yoursite.com/wp-content/uploads/’,’http://img.yoursite.com/’); The steps should all be documented in the … Read more

tech