{"id":12950,"date":"2010-05-11T17:34:02","date_gmt":"2010-05-11T12:04:02","guid":{"rendered":"https:\/\/www.quickonlinetips.com\/archives\/?p=12950"},"modified":"2026-10-13T13:38:21","modified_gmt":"2026-10-13T08:08:21","slug":"create-short-urls-for-your-domain-name-to-retweet-easily","status":"publish","type":"post","link":"https:\/\/www.quickonlinetips.com\/archives\/2010\/05\/create-short-urls-for-your-domain-name-to-retweet-easily\/","title":{"rendered":"How to Create Branded Short URLs on Your Own Domain (2026)"},"content":{"rendered":"<p>Long, keyword-rich URLs look messy when shared on X, WhatsApp or in print. Here is how to create <strong>branded short URLs<\/strong> on your own domain name instead of using bit.ly or TinyURL. We started doing this on QuickOnlineTips in 2010 for our home-made tweet button, using the WordPress post ID link. That trick still works, and today there are even better options for custom short links.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-44727\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/short-retweet-urls.jpg\" alt=\"Branded short URLs for your domain name\" width=\"500\" height=\"250\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/short-retweet-urls.jpg 500w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/short-retweet-urls-150x75.jpg 150w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/short-retweet-urls-300x150.jpg 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/p>\n<p><strong>Quick answer:<\/strong> On WordPress, every post already has a short link: <code>yoursite.com\/?p=123<\/code>, which redirects to the full permalink. For prettier links like <code>yoursite.com\/go\/offer<\/code>, use a redirect plugin such as Pretty Links or Redirection. To use a separate short domain, buy a short domain and connect it to a service like Bitly, Rebrandly or Dub.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_91 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6b097a371c174\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #1a202c;color:#1a202c\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #1a202c;color:#1a202c\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6b097a371c174\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2010\/05\/create-short-urls-for-your-domain-name-to-retweet-easily\/#Do_short_URLs_still_save_characters_on_X\" >Do short URLs still save characters on X?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2010\/05\/create-short-urls-for-your-domain-name-to-retweet-easily\/#Method_1_Use_WordPress_post_ID_links\" >Method 1: Use WordPress post ID links<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2010\/05\/create-short-urls-for-your-domain-name-to-retweet-easily\/#Method_2_Pretty_redirect_links_on_your_domain\" >Method 2: Pretty redirect links on your domain<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2010\/05\/create-short-urls-for-your-domain-name-to-retweet-easily\/#Method_3_A_separate_short_domain\" >Method 3: A separate short domain<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2010\/05\/create-short-urls-for-your-domain-name-to-retweet-easily\/#Tips_for_branded_short_links\" >Tips for branded short links<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2010\/05\/create-short-urls-for-your-domain-name-to-retweet-easily\/#FAQ\" >FAQ<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2010\/05\/create-short-urls-for-your-domain-name-to-retweet-easily\/#Do_short_URLs_hurt_SEO\" >Do short URLs hurt SEO?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2010\/05\/create-short-urls-for-your-domain-name-to-retweet-easily\/#Is_p_the_same_as_a_WordPress_shortlink\" >Is ?p= the same as a WordPress shortlink?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2010\/05\/create-short-urls-for-your-domain-name-to-retweet-easily\/#Are_free_URL_shorteners_safe\" >Are free URL shorteners safe?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Do_short_URLs_still_save_characters_on_X\"><\/span>Do short URLs still save characters on X?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Not any more. In 2010 a long link could eat most of a 140-character tweet, which is why we built short links into our tweet button. Today X allows 280 characters and wraps every link with its own t.co shortener, so <strong>every URL counts as 23 characters<\/strong> whatever its length. Short links are now about <strong>branding, trust and tidiness<\/strong>: easy to read aloud, print on a slide or QR code, and track.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Method_1_Use_WordPress_post_ID_links\"><\/span>Method 1: Use WordPress post ID links<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>WordPress gives each post a unique ID. If you use pretty permalinks, the ID link redirects to the full URL automatically:<\/p>\n<ul>\n<li><code>https:\/\/www.quickonlinetips.com\/?p=12950<\/code> opens this article.<\/li>\n<li>In themes, <code>wp_get_shortlink()<\/code> or <code>the_shortlink()<\/code> outputs this link, and many sites add it as <code>&lt;link rel=\"shortlink\"&gt;<\/code> in the page head.<\/li>\n<li>Jetpack users can also get <code>wp.me<\/code> short links.<\/li>\n<\/ul>\n<p>Our old tweet code used <code>twitter.com\/home?status=<\/code>, which no longer works. A modern share link uses X&#8217;s web intent:<\/p>\n<pre><code>&lt;a href=\"https:\/\/x.com\/intent\/post?text=&lt;?php echo urlencode(get_the_title()); ?&gt;&amp;url=&lt;?php echo urlencode(wp_get_shortlink()); ?&gt;&amp;via=qot\" target=\"_blank\" rel=\"noopener\"&gt;Share on X&lt;\/a&gt;<\/code><\/pre>\n<p>For more ideas, see our <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2014\/06\/effective-tweet-buttons\/\">tips for effective tweet buttons<\/a>.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Method_2_Pretty_redirect_links_on_your_domain\"><\/span>Method 2: Pretty redirect links on your domain<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Plugins let you create readable links such as <code>yoursite.com\/go\/hosting<\/code> that redirect anywhere and count clicks. We use this on QuickOnlineTips for affiliate links.<\/p>\n<ul>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/pretty-link\/\" target=\"_blank\" rel=\"noopener\">Pretty Links<\/a>: short branded links with click tracking.<\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/redirection\/\" target=\"_blank\" rel=\"noopener\">Redirection<\/a>: free plugin for 301 redirects and 404 monitoring.<\/li>\n<li>Your web host or <a href=\"https:\/\/developers.cloudflare.com\/rules\/url-forwarding\/\" target=\"_blank\" rel=\"noopener\">Cloudflare redirect rules<\/a> can also do simple redirects without a plugin.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Method_3_A_separate_short_domain\"><\/span>Method 3: A separate short domain<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Big brands use short domains like <code>nyti.ms<\/code> or <code>youtu.be<\/code>. You can do the same:<\/p>\n<ol>\n<li>Buy a short domain (see our tips to <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2005\/02\/buy-domain-names\/\">buy domain names<\/a>).<\/li>\n<li>Connect it to a link service such as <a href=\"https:\/\/bitly.com\/\" target=\"_blank\" rel=\"noopener\">Bitly<\/a>, <a href=\"https:\/\/www.rebrandly.com\/\" target=\"_blank\" rel=\"noopener\">Rebrandly<\/a> or the open-source <a href=\"https:\/\/dub.co\/\" target=\"_blank\" rel=\"noopener\">Dub<\/a>, or self-host <a href=\"https:\/\/yourls.org\/\" target=\"_blank\" rel=\"noopener\">YOURLS<\/a>.<\/li>\n<li>Point the domain&#8217;s DNS records as the service instructs and start creating links.<\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Tips_for_branded_short_links\"><\/span>Tips for branded short links<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>Use 301 (permanent) redirects for content links so search engines pass signals to the real page.<\/li>\n<li>Choose readable slugs (<code>\/go\/vpn<\/code>), not random characters, so people trust the link.<\/li>\n<li>Never let a short domain expire; old links would break or be hijacked.<\/li>\n<li>Keep the full URL as the canonical link on your pages.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"FAQ\"><\/span>FAQ<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Do_short_URLs_hurt_SEO\"><\/span>Do short URLs hurt SEO?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>No. A 301 redirect passes visitors and ranking signals to the full URL. Keep your canonical tag on the full permalink.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Is_p_the_same_as_a_WordPress_shortlink\"><\/span>Is ?p= the same as a WordPress shortlink?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Yes. The <code>?p=ID<\/code> address is WordPress&#8217;s built-in shortlink and redirects to the post&#8217;s pretty permalink.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Are_free_URL_shorteners_safe\"><\/span>Are free URL shorteners safe?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Mostly, but links depend on the service staying online, and some people distrust unknown short links. Your own domain is more reliable.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Long, keyword-rich URLs look messy when shared on X, WhatsApp or in print. Here is how to create branded short&#8230;<\/p>\n","protected":false},"author":4,"featured_media":44727,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[111,6],"tags":[49,17],"class_list":["post-12950","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apps","category-blogging","tag-tutorials","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/12950","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/comments?post=12950"}],"version-history":[{"count":3,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/12950\/revisions"}],"predecessor-version":[{"id":65335,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/12950\/revisions\/65335"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media\/44727"}],"wp:attachment":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media?parent=12950"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/categories?post=12950"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/tags?post=12950"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}