Issue #7712 duplicate

Hosting static website with submodules. (BB-8868)

created an issue

I'm currently hosting a small site in one of my repos (ie:; however, I would like to be able to link to other repos/projects from my bitbucket site.

I realize that Bitbucket already has instructions for hosting multiple sites:

But, if I'm not mistaken, the only way to do this (and have it work on bitbucket) is to put all of ones projects into the same repo, and have them seperated by subfolders. This doesn't make much sense to me...

I tried adding my other projects as submodules to my bitbucket hosted site/repo, but this didn't seem to work when I clicked a link pointing to a submodules' index.html file (ie:

Perhaps, I'm missing something simple. Perhaps it an enhancement that Bitbucket could add.


Comments (5)

  1. François Moreau

    Using a single repository for multiple websites does not sound advisable: each website is a project in itself with distinct history and collaborators. Hence, submodules is the way to go to divide the into Git submodules. It's quite unfortunate that Bitbucket refuses to reckognize this Git feature for static websites.

    It's definitely not a duplicate of #3932, which is about having a project page.

  2. Log in to comment