Why use link shortener?
- They generate link presentable and manageable which easier while sharing in emails and on social networking websites.
- These links take less space and can adjust more link.
- Link shortens enhanced web surfing experience.
- It is very useful in sms and email marketing campaigns.
- People can easily understand the brand
- It creates memorable links
- It redirects all traffic to the destination website.
Why to use Bitt.link shortener?
Bitt.link is a free URL shortener which generate uniqueurl with short combination of random letters and also with custom name up to eight character.
Write or paste your URL in the box and click on Generate.
e.g. a shopping site product link
after generating short url the link will look like:
https://bitt.link/example
The incredible stats are that 737-characterurl is instantly converted into 25-character url with custom phrase in the end. Future more in the same wayyou can also create bulk short urls.
You can get free bitt link shortener plugin available at Wordpress and extension at Chrome web store.
Bitt.link Share Embed Code
Bitt-link share provides a facility to "Generate" and "Share" shortlink of your current page link instantly. Include following code to get shortlinks of your current page in no time...
JS File
//include JS file in your body//
<script src='https://bitt.link/bitt-share.js'></script>
Container
//include Container in common file of your site//
<div id="bitt-share"></div>
Bitt Link Shortener For Wordpress
Bitt Link Shortener plugin is a Efficient, extremely scalable and light weight url shortener tool introduced by Seerox.
It minimizes the length of long urls into pretty short easy to remember words. Which is safe to share over global social media sites, group chats or any other place where you want, because its too much easy to use and fully configured for users prespective to provide 100% better outcome which excites.
This tool is completely based on bitt.link own live servers API which is gives you 99.9% uptime for quick response, and safe traffic source.
Stunning Look (Installation and Usage)
- First, you need tou Grab Plugin For Your Wordpress Site, Download Plugin Bitt Link Shortener.
- Goto your admin panel, upload and install Bitt link Shortener plugin with traditional wordpress method.
- After installing plugin you can get a menu section item with Gear icon named as "Bitt Link Shortener", after selecting this menu you can see plugin panel E.g. (below):
- You Can add line separated links (each link on new line) and hit "Get Bitt Link Shortener" button to fetch short links for your given URL's list.
- Output short links are listed in table below where youn can see actual and short form of links also can search and copy anytime.
- On Post Create Page, you are provided a quick Link Shortener meta box Element.
- When you create a post, you can click on "Get Bitt Link" button which will generate Short Link.
- You can Copy from post page and also your post generated link stored in Menu Item Page Table.
Finally, you have control over your website's URL(s) for Quick promotion over internet between interested folks. Moreover, "Bitt Link Shortener" have its own Link Shortener API that provides
you facility also allows you to build short links for you custom applications.
Check for Plugin
What is bitt.link API
"bitt.link API" is an API that Developers can use in their Applications to add the srvices of link shortening. bitt.link API takes JSON Encoded url/urls and return JSON Encoded response
How to send "Request" to API
Request URL: https://bitt.link/api.php
Data Format(Multiple Urls): long_url={'0':"first_url",'1':"second_url",....} OR long_url={"first_url","second_url","third_url",....}
Data Format(Single Url): long_url={'0':"first_url"} OR long_url={"first_url"}
Note: Apply encodeURIComponent() function to each url before sending request to API through Javascript
Response
Results are placed at 'result' index of response.
Response data:   {"status":"success","id":123..,"result":"https:\/\/bitt.link\/abc.."}
Code for API interaction.
var settings = {
"async": true,
"crossDomain": true,
"url": "https://bitt.link/api.php",
"method": "POST",
"headers": {
"Cache-Control": "no-cache",
},
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
var http = require("https");
var options = {
"method": "POST",
"hostname": [
"bitt",
"link"
],
"path": [
"api.php"
],
"headers": {
"content-type": "multipart/form-data;
boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW",
"Cache-Control": "no-cache",
}
};
var req = http.request(options, function (res) {
var chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
var body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.write("------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"long_url\"\r\n\r\n[URL/URL Array HERE]\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--");
req.end();
$request = new HttpRequest();
$request->setUrl('https://bitt.link/api.php');
$request->setMethod(HTTP_METH_POST);
$request->setHeaders(array(
'Cache-Control' => 'no-cache',
'content-type' => 'multipart/form-data;
boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'
));
$request->setBody('------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="long_url"
[URL/URL Array Here]
------WebKitFormBoundary7MA4YWxkTrZu0gW--');
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
import requests
url = "https://bitt.link/api.php"
payload =
"------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"long_url\"\r\n\r\n[URL/URL Array Here]\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--"
headers = {
'content-type': "multipart/form-data;
boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW",
'Cache-Control': "no-cache",
'Postman-Token': "fd222107-c455-4ef6-91e4-412eb0a21104"
}
response = requests.request("POST", url, data=payload, headers=headers)
print(response.text)
import http.client
conn = http.client.HTTPConnection("bitt,link")
payload ="------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"long_url\"\r\n\r\n[URL/URL Array Here]\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--"
headers = {
'content-type': "multipart/form-data;
boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW",
'Cache-Control': "no-cache",
'Postman-Token': "ba5f7ae6-dc1e-4edd-8629-72b894183e32"
}
conn.request("POST", "api.php", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))