offloading wpmu themes and plugins to cdn, fast & easy, without plugins

one of many ways to speed up your wpmu is by offloading your themes and plugins url to CDN.


there are many plugins to let you do this. you can also use htaccess to rewrite all your /wp-content url to cd.

but i just found out, you can do it very easily without any plugins or htaccess rewrite. just edit your wp-config.php like this:

define( 'WP_CONTENT_URL', 'http://your.cdn.host/wp-content');
define( 'WPMU_PLUGIN_URL', 'http://your.cdn.host/wp-content/plugins');

that's all it.
now all your wp-content and plugins url will be change to your.cdn.host and no cost for htaccess rewrite or plugins processing.

--
tips & tricks on computers and gadgets
denny on IT ; let's doIT
documenting the brain

Comments

Terrific post! Love your work!
Web Design Malaysia Web Design KL Rebrand specialise in website design, e-commerce solutions, digital marketing, branding strategy and much more. We strongly believe that having a high-quality website doesn't necessarily need to cost a huge sum of money. Hence, we are a group of professionals that came together with a goal in mind: to deliver excellent web designs that provide value to our customers that range from startups to enterprises and large organisations.
Web Design KL
I really appreciate your blog. Simply awesome!
Natural Joint Supplements Duplex® strives to be your trusted healthcare brand, a brand that will never settle for less than the best. We firmly believe your health matters. At Duplex®, we pledge to make your well being our priority. Our aim is to deliver effective, yet affordable healthcare simply because we believe good health makes living more meaningful. We are your trusted ally on the journey to attain a healthy mind, body and spirit.
Kiss918 said…
Thank you for this excellent post. Very informative!
kiss918 apk is arguably the most prominent online casino in Malaysia, bringing you the hottest, top trending games on the internet, all in one destination. 918 Kiss has all sorts of entertainment content, ranging from fishing games and live table games to one of our main attractions that is slot games.
kiss918 online
Kiss918
Such outstanding post is simply unbelievable! Keep posting!
japanese class in petaling jaya is strive to deliver the best linguistic services to our clients. Based in Petaling Jaya, Ringo has been providing the finest quality of learning experience and translation services for corporate clients and language learners since 1999.
language centre in petaling jaya
japanese class in petaling jaya
korean language class in petaling jaya
thai language class in kuala lumpur
german language class in kuala lumpur
mandarin language class in kuala lumpur
vietnam language class in kuala lumpur
translation company in kuala lumpur
translation service in malaysia
Klinik Q said…
Klinik Q located in KL, Klnik Q specialize in Functional Medicine that brings together conventional medicine, nutritional medicine, and bio-identical hormone therapy to restore health and enhance youth. Our doctors are here to educate, inspire & empower you to make better decisions regarding your health.
Anonymous said…
Klinik Q located in KL, Klnik Q specialize in Functional Medicine that brings together conventional medicine, nutritional medicine, and bio-identical hormone therapy to restore health and enhance youth. Our doctors are here to educate, inspire & empower you to make better decisions regarding your health.

KlinikQ
Anonymous said…
KlinikQ Functional Medicine that brings together conventional medicine, nutritional medicine, and bio-identical hormone therapy to restore health and enhance youth. Our doctors are here to educate, inspire & empower you to make better decisions regarding your health.
Functional Medicine KL that brings together conventional medicine, nutritional medicine, and bio-identical hormone therapy to restore health and enhance youth. Our doctors are here to educate, inspire & empower you to make better decisions regarding your health.
Klinik Q said…
Functional Medicine KL that brings together conventional medicine, nutritional medicine, and bio-identical hormone therapy to restore health and enhance youth. Our doctors are here to educate, inspire & empower you to make better decisions regarding your health in Klinik Functional Medicine KL
Mkwin888 said…
Mega 888 apk download is the most popular app for online slot games in Malaysia. The free download offers you a huge choice of games, you can even play for free using a test id. You can use the free test id listed on this page.
Mkwin888 said…
Mega 888 is the most popular app for online slot games in Malaysia. The free download offers you a huge choice of games, you can even play for free using a test id. You can use the free test id listed on this page.
Mkwin888 said…
Mega888 is the most popular app for online slot games in Malaysia. The free download offers you a huge choice of games, you can even play for free using a test id. You can use the free test id listed on this page.
Mkwin888 said…
Pussy888 is the most popular app for online slot games in Malaysia. The free download offers you a huge choice of games, you can even play for free using a test id. You can use the free test id listed on this page.
Mkwin888 said…
Pussy 888 is the most popular app for online slot games in Malaysia. The free download offers you a huge choice of games, you can even play for free using a test id. You can use the free test id listed on this page.
Shintech said…
EU certified organic input started out with an incredible objective of ensuring environmental sustainability through innovative green engineering. Our journey began as a fertilizer manufacturing company, utilizing available wastes and converting them into value-added nutrition for plants.