Use an alternate base URL for your Pretty Links

« Back to User Manual

Let’s say that your blog’s URL is a very long domain name like and you’re trying to shorten links with that gigantic url? Wow, that probably won’t work well on twitter. Well, Pretty Links now allows you to use an alternate URL for your short links so no matter how long your blog’s url is, you can still have nice, tight, short links that still build your brand. So even though my domain name might be I can create short links using my other, shorter domain name … Here’s how you can do this:

  1. Make sure that you’ve set up your DNS for so that it points at your blog’s address (and if you’re using Apache’s virtual host directives you’ll want to include a “ServerAlias” line once it is pointed at the right IP address). If you’re unsure how to do this you’ll want to talk with your web host. If you think this may already be done just type your alternate domain into your browser’s address bar — if your main website comes up then chances are you’re ready to proceed to step 2.
  2. Log into your WordPress admin and click on menu item: “Pretty Links” -> “Pro Options”
  3. Click “Global Options”
  4. Check “Use an alternate Base Url for your Pretty Links”
  5. Enter your alternate url in the text input provided and hit “save”

Now when you go back to your pretty link list you’ll notice that all your links will be sporting this new url! You may want to try to click on a few of your pretty links just to make sure everything is kosher. This feature is powerful but if you misspell your URL or use a URL that doesn’t point to your blog then none of your links will work while this is enabled — so be careful.