0

I've just purchased a plan with MaxCDN to deliver my content through CDN, but i've got a small issue before i create a pull-zone. I moved my WordPress core files out of my root and into a sub-directory. These are my current settings:

WordPress address URL: http://example.com/wordpress

Site address URL: http://example.com

The question is whether i should have my Origin Server URL and custom CDN domain name according to my WordPress address or site address. Here is the tutorial I'm currently following, in case you need to view the MaxCDN dashboard.

Thanks in advance.

1 Answer 1

1

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 as well, and it's loaded from content delivery network.`

This would be exactly the same for cdn.example.com/wordpress/wp-content/uploads and cdn.example.com/wordpress/wp-content/themes/twentyten or whatever else.

So going this route, everything below your root will be available via CDN, including all your wordpress files. Why complicate things?

4
  • care to explain?
    – VicePrez
    Commented May 26, 2011 at 19:34
  • @vice: I care to. Commented May 26, 2011 at 19:46
  • thanks for the answer, but I'm not trying to make all files in my root available. Ill just see what i can do through trial and error, I've already talked to customer support over at MaxCDN, they suggested the same thing you did.. and recommended I do some test runs and see if everything's working as it should be. I'll try both and report it back here. thanks again.
    – VicePrez
    Commented May 27, 2011 at 15:17
  • @vice: You of course wouldn't have to use any of the cdn files for your root. Good luck. Commented May 27, 2011 at 17:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.