Using WordPress behind a CloudFront Custom Distribution

I’ve been working on this exact same issue. What you need to do is have two domains. One for your backendblog and one that pointing at cloudfront. Your backendblog will be configured to serve up as itself (backendblog). In my test example I’m using my blog as the backendblog. If this was for production use … Read more

CDN: Origin server URL, WordPress Core files installed in sub-directory

Just use the site address URL, http://example.com From the literature: `When the custom CDN URL works, you can access all files in your site via that URL and it will be delivered through the MaxCDN content delivery network. For example, if you normally open an image from example.com/images/example.jpg, that same image now opens with cdn.example.com/images/example.jpg … Read more

How do I serve fully cached full HTML on cloudfront

Yes, you can serve HTML through CloudFront as long as you don’t mind every user getting the same content until the cache expires. It completely depends how your caches are being stored. I can’t imagine a CDN that would not support this. They might not advertise it since many web sites are dynamic and can’t … Read more

placing the media uploads in a subdirectory

Add the following to your theme’s functions.php file, making sure you replace the example CDN URL with your own: function my_cdn_upload_url() { return ‘http://mk124.yourcdn.com/yoursite/wp-content/uploads’; } add_filter( ‘pre_option_upload_url_path’, ‘my_cdn_upload_url’ );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)