-
How to permanently redirect static content to a subdomain with .htaccess
I wanted to move all my static files to a sub domain to comply with good standards and use a Content Delivery Network. I set up a sub domain and moved all the images, style sheets and javascript files to this subdomain. To play nice with the search engines and cached pages, I needed to set up a permanently redirect (301) so the content would not get lost
Written by Alexander in How-to