I've followed this guide to the brim, but on step 3 I'm being stumped.
I've declared the following in the wp-config.php (customized to my domain):
define("WP_CONTENT_URL", "http://static.domainname.com");
define("COOKIE_DOMAIN", "www.domainname.com");
define("WP_PLUGIN_URL", "http://static.domainname.com/plugins");
And I've gone in phpMyAdmin in cPanel and done this update:
UPDATE wp_posts SET post_content = REPLACE(post_content,
'http://www.domainname.com/wp-content/uploads/','http://static.domainname.com/uploads/')
However, I get this result:
When I update new content, the images get prepended "static," which is good, but my stylesheets also have "static," and since there's no content loaded on that subdomain, my site gets wrecked. And all existing images need to be uploaded to the subdomain so they are also served via "static."
Am I following the guide above wrongly?