[wp-hackers] CDN Integration?

Mike Schinkel mikeschinkel at newclarity.net
Tue Feb 3 02:54:14 GMT 2009


Hmm. Interesting. But that won't work because the PHP files need to be on the local server and not on CDN.

If there were some way set a subdir of the theme, i.e.:

   /wp-content/themes/my-theme/media-assets/

Do you know of a way to do that?

-Mike Schinkel
http://mikeschinkel.com/

----- Original Message -----
From: "Peter van der Does" <peter at avirtualhome.com>
To: wp-hackers at lists.automattic.com
Sent: Monday, February 2, 2009 9:43:14 PM GMT -05:00 US/Canada Eastern
Subject: Re: [wp-hackers] CDN Integration?

On Mon, 2 Feb 2009 17:36:31 -0600 (CST)
Mike Schinkel <mikeschinkel at newclarity.net> wrote:

> images, pdfs, flash (swf), and streaming video.
> 
> -Mike Schinkel
> http://mikeschinkel.com/
> 

I take it you want to have these files in a separate subdomain.
I think what you could try is have the entire wp-content directory
being served by the CDN.

What you'll have to do is change the the wp-config.php

Add the line:
define('WP_CONTENT_URL', 'wpcontent.foo.com');


-- 
Peter van der Does

GPG key: E77E8E98

WordPress Plugin Developer
http://blog.avirtualhome.com

GetDeb Package Builder/GetDeb Site Coder
http://www.getdeb.net - Software you want for Ubuntu
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list