{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"Link Shortening","type":"basic","slug":"link-shortening","excerpt":"","body":"We often need to send URLs in a text message, but links can be long and cut into character limits for each message. With Sonar, you now have the ability to shorten links. \n\nTo turn on the Link Shortening feature, click on the Menu bar, navigate to the ****Settings**** tab, then click on Company Settings. In the URL Shortening Settings section, you can turn link shortening for Campaigns, Mass Messages, and API Messages on or off. \n\nThe default shortened domain name is `sonr.in`.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/9950085-hello25.png\",\n        \"hello25.png\",\n        531,\n        687,\n        \"#53489d\"\n      ]\n    }\n  ]\n}\n[/block]\n## **Custom Shortened URL Domain Name**\n\nIf you would like to use your own custom domain name, you'll need to set up your custom domain name and direct it to sonr.in.\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Disclaimer\",\n  \"body\": \"If you use your own hostname, be sure to point your hostname to our servers first. See instructions below. You will not be able to use this hostname for other things as it'll have exclusively to our servers.\"\n}\n[/block]\n****To point your domain to Sonar, please follow the below instructions:****\n\n1. Identify a custom domain you can use for sonar links. **This custom domain must have an SSL certificate and be secure.**\n2. Contact us at [contact:::at:::sendsonar.com](mailto:[email protected]) and let us know you're about to do this. We'll need to add your domain to our list of approved domains, so this way we can start coordinating.\n3. How to point your domain to sonr.in depends on your DNS provider. Here are instructions from some popular providers (we will also be happy to help you with this):\n\n* <a href=\"https://support.dnsimple.com/articles/alias-record/\" target=\"_blank\">DNSimple</a>\n* <a href=\"https://fusion.easydns.com/index.php?/Knowledgebase/Article/View/190/7/aname-records/\" target=\"_blank\">easyDNS</a>\n* <a href=\"https://devcenter.heroku.com/articles/pointdns\" target=\"_blank\">PointDNS</a>\n* <a href=\"https://support.cloudflare.com/hc/en-us/articles/200169056-Does-CloudFlare-support-CNAME-APEX-at-the-root-\" target=\"_blank\">CloudFlare</a>\n* <a href=\"http://documentation.unbounce.com/hc/en-us/articles/203687274-Setting-Up-Your-CNAME-with-GoDaddy-godaddy-com-\" target=\"_blank\">GoDaddy</a> \n* <a href=\"https://www.namecheap.com/support/knowledgebase/article.aspx/9646/10/how-can-i-set-up-a-cname-record-for-my-domain\" target=\"_blank\">NameCheap</a>\n\n\n##Testing\nTo ensure that your hostname is pointing to Sonar, visit the short URL you've created, as you should be redirected to Sonar's About Us page if you visit `https://{your-custom-subdomain}/VREL7F` \n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Note\",\n  \"body\": \"Please note that this make take up to 72 hours for changes to propagate.\"\n}\n[/block]\n##Set Up A Custom Error Page\nOnce you've set up a custom shortlinks domain name, you can also direct customers to a custom error page!\n\n****Why?****\nIf for whatever reason a link no longer works (invalid path hash or no path hash at all), you might not want your customer to be directed to Sonar's error page and may want to direct them to your own. \n\nIf you'd like to have a custom error page, [email us](mailto:[email protected]) the link to it. We'll set it up for you!","updates":["58e545ee0ab7b03b00f4ad26","5d47de43a77b930030f73288"],"order":18,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5797f2b2c8c9cb0e00988639","githubsync":"","user":"554966ffcd09b317005f8f61","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["55208138623ff50d009b2bf0","55494a226a82a10d00817ae5","55494ba7ee219b0d001743c8","55494bc1ee219b0d001743cc","56ead8c1df765617008bccaf","573a2073dd007d1700cf288f","579695b1f64c9f0e007cd76c","57969e3dfa1ff60e006a1274","579a4592fd9f3c0e008e4f4a","57ab9afe54fa780e006c5430","57b784f5b7ebd60e009cb4a6","58f686818193090f008cec76","59e79fbd4cf31900341d50c6","5b2436973fd93f0003dcf99d","5d824fb2ce98a801366098a2"],"_id":"55208137623ff50d009b2bef","createdAt":"2015-04-05T00:26:31.564Z","releaseDate":"2015-04-05T00:26:31.563Z","__v":15,"project":"55208137623ff50d009b2bec"},"createdAt":"2016-07-26T23:30:58.313Z","parentDoc":null,"project":"55208137623ff50d009b2bec","__v":3,"category":{"sync":{"isSync":false,"url":""},"pages":["55496509c634cf2d0012507c","5549650ecd09b317005f8f4e","55496535a5ecbc1900321683","5549654dcd09b317005f8f53","55496557c634cf2d0012507e","55496563cd09b317005f8f55","55496673a5ecbc190032168a","55496682cd09b317005f8f5e","5549668da5ecbc190032168c","55497c3ea5ecbc19003216bd","55c1047d81dc010d00d50678","55c3cad1b0778d2100a7ebd8","5638e41e3539050d0008205f","563a2ac1f0c29b1700daaf98","563a2b7ef0c29b1700daafa2","563a2d83d25e8919005f3f05"],"title":"Features","slug":"features","order":2,"from_sync":false,"reference":true,"_id":"55494bc1ee219b0d001743cc","project":"55208137623ff50d009b2bec","version":"55208137623ff50d009b2bef","__v":16,"createdAt":"2015-05-05T23:01:21.408Z"}}
We often need to send URLs in a text message, but links can be long and cut into character limits for each message. With Sonar, you now have the ability to shorten links.  To turn on the Link Shortening feature, click on the Menu bar, navigate to the ****Settings**** tab, then click on Company Settings. In the URL Shortening Settings section, you can turn link shortening for Campaigns, Mass Messages, and API Messages on or off. The default shortened domain name is `sonr.in`. [block:image] { "images": [ { "image": [ "https://files.readme.io/9950085-hello25.png", "hello25.png", 531, 687, "#53489d" ] } ] } [/block] ## **Custom Shortened URL Domain Name** If you would like to use your own custom domain name, you'll need to set up your custom domain name and direct it to sonr.in. [block:callout] { "type": "warning", "title": "Disclaimer", "body": "If you use your own hostname, be sure to point your hostname to our servers first. See instructions below. You will not be able to use this hostname for other things as it'll have exclusively to our servers." } [/block] ****To point your domain to Sonar, please follow the below instructions:**** 1. Identify a custom domain you can use for sonar links. **This custom domain must have an SSL certificate and be secure.** 2. Contact us at [[email protected]](mailto:[email protected]) and let us know you're about to do this. We'll need to add your domain to our list of approved domains, so this way we can start coordinating. 3. How to point your domain to sonr.in depends on your DNS provider. Here are instructions from some popular providers (we will also be happy to help you with this): * <a href="https://support.dnsimple.com/articles/alias-record/" target="_blank">DNSimple</a> * <a href="https://fusion.easydns.com/index.php?/Knowledgebase/Article/View/190/7/aname-records/" target="_blank">easyDNS</a> * <a href="https://devcenter.heroku.com/articles/pointdns" target="_blank">PointDNS</a> * <a href="https://support.cloudflare.com/hc/en-us/articles/200169056-Does-CloudFlare-support-CNAME-APEX-at-the-root-" target="_blank">CloudFlare</a> * <a href="http://documentation.unbounce.com/hc/en-us/articles/203687274-Setting-Up-Your-CNAME-with-GoDaddy-godaddy-com-" target="_blank">GoDaddy</a> * <a href="https://www.namecheap.com/support/knowledgebase/article.aspx/9646/10/how-can-i-set-up-a-cname-record-for-my-domain" target="_blank">NameCheap</a> ##Testing To ensure that your hostname is pointing to Sonar, visit the short URL you've created, as you should be redirected to Sonar's About Us page if you visit `https://{your-custom-subdomain}/VREL7F` [block:callout] { "type": "info", "title": "Note", "body": "Please note that this make take up to 72 hours for changes to propagate." } [/block] ##Set Up A Custom Error Page Once you've set up a custom shortlinks domain name, you can also direct customers to a custom error page! ****Why?**** If for whatever reason a link no longer works (invalid path hash or no path hash at all), you might not want your customer to be directed to Sonar's error page and may want to direct them to your own. If you'd like to have a custom error page, [email us](mailto:[email protected]) the link to it. We'll set it up for you!