Support » Plugin: WP Super Cache » [Plugin: WP Super Cache] Supercache inserting both site and CDN url in site urls

  • I started using CloudFront today. I set up the CDN, deployed it, tested some urls as instructed (they worked) and then saved the settings in supercache.

    Everything was great except for one small thing…it wrote *both* by site name and the CDN url into the site urls.

    Like this:
    http://www.mysite.com/d3rys75k00.cloudfront.net/rest-of-url

    Any idea what could be causing this? I tried php caching instead of the mod_rewrite caching, but I got the same problem. Eventually I turned the CDN options off.

    I really, really would like this to work. I’m on Dreamhost and their response times are so slow. I need every second of speed I can get 🙂

    Any advice appreciated. Thank you!

    http://wordpress.org/extend/plugins/wp-super-cache/

Viewing 1 replies (of 1 total)
  • Thread Starter lostinjapan

    (@lostinjapan)

    Okay, I figured this one out. It was a duh moment.

    You have to be sure to add the http:// before your cloudfront.net in the settings for Off-site URL or it will append the cloudfront part in unexpected ways.

    Also I had the unrelated issue that when I entered my cloudfront url it redirected to my homepage with a permanently moved error. If your cloudfront.net url or files redirect to your homepage it is set up incorrectly! For my site http://mysite.com redirected to http://www.mysite.com. I had to make sure my cloudfront deployment matched “www.mysite.com” for the origin and NOT mysite.com which created redirect errors

    Problems solved 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP Super Cache] Supercache inserting both site and CDN url in site urls’ is closed to new replies.