Short.io provides link cloaking for replacing a long URL with the short one in the browser address bar. For example, the link like "https://vimeo.com/419122202" is replaced with "https://yourdomain.com/video". The feature's purpose is to hide possibly important parts of links like UTM parameters, affiliate code.
The most frequently cloaked websites among Short.io users are:
- Google Datastudio.
- Google Docs.
- Google Spreadsheets.
- Amazon S3.
If you are trying to cloak links with these services, the error "Cloaking is forbidden by destination URL with X-Frame-Options header" may occur. The main reason for its inception was to provide clickjacking protection. This includes a page rendering in a frame, iframe, or object. Iframes are used to embed and isolate third-party content into a website.
Vimeo forbids link cloaking. Sometimes you inevitably need to hide Vimeo's links because of the important information behind it. For this you need:
1. Go to Vimeo and find a needed destination.
2. Click Share.
3. Open the Embed section.
4. Extract the link from the embed code from the src value.
iframe src="https://player.vimeo.com/video/419122202" width="640" height="337" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe
5. Shorten a link > Cloak it.
This way, the link will be shortened, and you will successfully hide important values.
What did you learn?
- link cloaking is forbidden
- x-frame error
- how to hide links
- vimeo videos
- vimeo links