Website Building » Squarespace » Why Is URL Not Embeddable Squarespace?

Why Is URL Not Embeddable Squarespace?

Last updated on October 1, 2022 @ 7:27 am

A URL is not embeddable in Squarespace because it is not a valid code block. While you can add a URL as a link in Squarespace, you cannot embed it in a post or page.

This is because Squarespace uses a different code language than HTML, which is the code language used to create websites. While Squarespace does allow you to add HTML code blocks, they will only render as text and will not display correctly if you try to embed a URL.

Why Is URL Not Embeddable Squarespace?

There are two primary reasons why URLs are not embeddable in Squarespace:

1. URLs are not valid code blocks in Squarespace.
While you can add a URL as a link in Squarespace, you cannot embed it in a post or page. This is because Squarespace uses a different code language than HTML, which is the code language used to create websites.

PRO TIP: If you are attempting to embed a URL into your Squarespace website and it is not working, it is likely because the URL you are trying to embed is not supported. Some common unsupported URLs include those that are not secure (http://), or those that use certain characters such as “#” or “&”. If you are unsure whether a URL will work, we recommend testing it on another website first.

2.

Embedding a URL would cause security risks.
Allowing users to embed URLs in Squarespace posts and pages would create potential security risks. Any website that allows users to embed arbitrary HTML code is vulnerable to cross-site scripting (XSS) attacks. By disallowing URL embeds, Squarespace reduces the chances of their platform being used for malicious purposes.

Conclusion

URLs cannot be embedded in Squarespace because they are not valid code blocks and doing so would create potential security risks. While you can add a URL as a link, it will not render correctly if you try to embed it in a post or page.

Dale Leydon

Dale Leydon

Sysadmin turned Javascript developer. Owner of 20+ apps graveyard, and a couple of successful ones.