• Hi.
    Is there a simple way (perhaps with function to insert in functions.php) to change deafult link in header with the aim to move all the css and javascript files in a subdomain for more speed website ?

    e.g. change:
    script type=’text/javascript’ src=’url_website/wp-includes/js/jquery/jquery.js

    in

    script type=’text/javascript’ src=’subdomain.url_website/wp-includes/js/jquery/jquery.js

    so that even all new js and css files added (e.g. from plugin) go directly linked on subdomain instead root website.

    For the images is enough change default uploads directory, but for the js and css files ?!!!

    Thanks.

  • The topic ‘How to link all js and css files in a subdomain’ is closed to new replies.