Let’s say that your blog’s URL is a very long domain name like http://www.theglobaldominationconsortium.com and you’re trying to shorten links with that gigantic url? Wow, that probably won’t work well on twitter. Well, Pretty Link Pro 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 http://www.theglobaldominationconsortium.com I can create short links using my other, shorter domain name http://tgdc.com … Here’s how you can do this:
- Make sure that you’ve set up your DNS for http://tgdc.com 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 tgdc.com” 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.
- Log into your WordPress admin and click on menu item: “Pretty Link” -> “Pro Options”
- Click “Global Options”
- Check “Use an alternate Base Url for your Pretty Links”
- 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.