I have Magento ver., I have setup two sub website with two sub domain.

Everything working there but on both sub website bootstrap-datepicker.js, bootstrap-timepicker.js, bootstrap-datepicker.js has path of sub domain like : http://sub.main.com/skin/frontend/package/theme/js/.

But it should be http://main.com/skin/frontend/package/theme/js/. While all other css and js have main domain path in sub website.

How to solve that?

1 Answer 1


@Vinaya You should edit skin urls for sub websites, it should be http://main.com/skin/ instead of {{unsecure_base_url}}skin/

Go to System-> configuration -> Web and edit Base Skin URL in Unsecure and Secure tab. Please change scope while changing URLs

  • I did that for skin, media and js url. Commented Jun 21, 2016 at 6:26
  • 1
    Did you cleared the cache and checked it agian?
    – Charlie
    Commented Jun 21, 2016 at 6:48
  • Yes, I did. but not working after that. Commented Jun 21, 2016 at 9:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.