What are external sites?
These are sites that you've made but are not on Glitch - think pages you host elsewhere like Squarespace, Github pages, Netlify, Fly.io, etc.
Who can add external sites?
As of June 13, 2024, adding sites to Glitch is in a preview beta for Glitch Pro, which means Glitch Pro subscribers can add them to their profiles on https://preview.glitch.com.
How do I add an external site?
If you have Glitch Pro, you will see the option to add a site under the New Project dropdown on https://preview.glitch.com.
The above image is a screenshot of the "Add a site to Glitch" option under the "New Project" menu in the preview navigation list.
In the form, you can add your URL to fetch its info, fill in anything that's missing or you'd like to update, and then submit to have it show up on your profile and your dashboard under "External sites."
How do I update my external site so Glitch can fetch the info it needs?
When adding a site to Glitch, we fetch a little bit of meta info about your site to both populate the title, description and image, as well as to verify that you are the owner of the site.
Meta info fetched
As of June 13, 2024 we are fetching the title, description, and image of your site using the Open Graph protocol. If you want your site to be ready to fetch this data and not have to enter it yourself in the "Add/Edit your site" form, you should add the following tags to your external site's code:
<meta property="og:title" content="[title of your site]" />
<meta property="og:description" content="[description of your site]" />
<meta property="og:image" content="[https:// url of your site image]" />
Verification
As of June 26, 2024 we are also looking for a link rel="me"
tag to verify your site ownership so that your profile only shows sites you own. You should add the following to your code along with the above meta tags:
<link rel="me" href="https://glitch.com/@[your Glitch username]" />
How do I edit or delete an external site I've already added?
You can find your external site in the Dashboard under "External sites" and click edit to open the form for editing the site, or you can click Delete. Once you delete a site, the only way to "get it back" is to add it like you would a new external site.
What is next for this feature?
Future updates will include:
- uploading project avatar images
- showing external sites on Glitch beyond just profile pages, pinning and more.
What do I do if I've found a bug or run into any issues?
Fill out this feedback form with your thoughts and ideas to help us build the future of this feature. You can also discuss your ideas and share any bugs here in the forum.
Note: If you’re a Glitch pro user and are having trouble accessing this feature: check that you do not have any browser extensions blocking Optimizely (which we are using to run this beta as a feature flag).