Discussions

Ask a Question
ANSWERED

How to customize short url after the domain?

Here is the html code I have so far: <!doctype html> <input id="box"> <button onclick="makelink(document.getElementById('box').value)">Make THAT Link</button> <div id="output"></div> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script> var data; function makelink(q) &#123; $.ajax(&#123; url: "https://api.rebrandly.com/v1/links/new?apikey=<REDACTED>&destination=" + q + "&domain[fullName]=beehired.tech", success: function (rawdata) &#123; var rawstring = JSON.stringify(rawdata); data = JSON.parse(rawstring); document.getElementById("output").innerHTML = "<a href='https://" + data.shortUrl + "' target='_blank'>" + data.shortUrl + "</a>"; &#125; &#125;) &#125;; </script> How can I change/add to this code so that a link that is being shortened to beehired.tech/jxk would instead be shortened to beehired.tech/jobfair01. I would like to customize the portion that comes after the "/". Thanks for any help you can provide.

Login Credential During Redirect to NextDoor

I've defined the following rebrandly map: https://plf.pet/safe => https://nextdoor.com/p/QnPDft2PgQzZ?view=detail&utm_source=embed This is intended to allow nextdoor subscribers to use a shortened link to access a target page within Nextdoor. The technique works when running nextdoor within a webbrowser, but fails when running within the nextdoor application from the appstore. It appears the nextdoor login credential maybe is not being passed by the nextdoor app. Without getting into rebrandly api programming, is there some config setting that rebrandly uses to control default behavior associated with login credentials?
ANSWERED

SSL for my custom domain

I have setup a free Rebrandly account a few days back, but I see that SSL is still not enabled. Can you please help?
ANSWERED

UTMs Truncated After First '&'. How to Resolve?

I'm creating shortened links via the API. UTMs after the first '&' are being stripped off in the response. I've tested using Postman, in the app I'm creating (NodeJS), and on the https://developers.rebrandly.com/reference#create-link-url "try it' feature. Example URL: https://something.org?utm_source=slack&utm_medium=social&utm_campaign=something&utm_context=anotherthing What comes back (after shortened URL is clicked): https://something.org?utm_source=slack this gets stripped off ---> &utm_medium=social&utm_campaign=something&utm_context=anotherthing
ANSWERED

Delete all links in JavaScript

In web
ANSWERED

NET::ERR_CERT_AUTHORITY_INVALID

Your connection is not private Attackers might be trying to steal your information from checkersinsurance.market (for example, passwords, messages, or credit cards). Learn more NET::ERR_CERT_AUTHORITY_INVALID To get Chrome’s highest level of security, turn on enhanced protection I read another thread and they were saying that this happens shortly after the domain has been verified, but this one was verified over two weeks ago. Please help

link works on PC but not in Mobile SMS

I have this link https://graphic.biz/reviewsa that works perfectly on PC and redirects to https://g.page/r/CdyU0ZJnwdahEAE/review But when I send it via SMS in android with Google stock message app, it only redirect to my home page of https://graphicsignhire.com.au/. Not https://g.page/r/CdyU0ZJnwdahEAE/review
ANSWERED

HTTPS / SSL still not set for my domain, even after few hours

Hello, I set my domain scgupta.me a few hours back, but "Https (SSL)" status is still "SSL Certificate not active yet." If I understood correctly, all domains in all plans, a FREE SSL certificate offered by Let's Encrypt authority is set automatically. Do I need to do something? Can you please help setting SSL so that I can create and share https links? Thanks.
ANSWERED

Node.js Snipped for Axios

Can someone edit the - Node.js - "API for custom short URLs - Code snippet", that I can use it with axios? let request = require("request"); let linkRequest = { destination: "https://www.youtube.com/channel/UCHK4HD0ltu1-I212icLPt3g", domain: { fullName: "rebrand.ly" } //, slashtag: "A_NEW_SLASHTAG" //, title: "Rebrandly YouTube channel" } let requestHeaders = { "Content-Type": "application/json", "apikey": "YOUR_API_KEY", "workspace": "YOUR_WORKSPACE_ID" } request({ uri: "https://api.rebrandly.com/v1/links", method: "POST", body: JSON.stringify(linkRequest), headers: requestHeaders }, (err, response, body) => { let link = JSON.parse(body); console.log(`Long URL was ${link.destination}, short URL is ${link.shortUrl}`); });
ANSWERED

Temporary Links

Since I don't need links to be available more than a few days, is there any way of creating temporary links? Or delete the links based on the time of creation?