I have a subdomian set up that I want to point to a specific directory.
cdn.domain.com
I want cdn.domain.com
to point to domain.com/wp-content/
, but not as a redirect, as that will just show cdn.domain.com/wp-content/
.
I want to set the domain root, so that when I write cdn.domain.com
it wil display the files located at domain.com/wp-content/
.
Does anyone have an idea on how I can do this?
I managed to do what I wanted to accomplish with the following code in the .htaccess file. 🙂