Short URL Plugin
Short URL is a Wordpress plugin that allows you to take a long URL such as:
http://www.harleyquine.com/downloads/php-scripts/somefile.zipand turn it into:
http://www.harleyquine.com/u/1The script also has a click counter and admin page so you can keep track of your short URL’s easily. Short URL’s can be used for tracking downloads, masking URL’s or count outgoing clicks. The plugins links can now be easily set up for either htaccess/permalink structure or the regular type.
Get it from the Plugin Directory
Advanced Short URL Functions
Variables can be passed to the redirected page by using the custom $2 in the link URL. An example of this could be to get search results.
Example: Say for some weird reason you wanted to dynamically link to this sites search.. first off you’d set your link URL to something like search/$2 (the full URL would then be something like http://www.yoursite.com/search/1/keyword. The plugin takes in the keyword. You’d set up a redirect to http://www.harleyquine.com/?s=$2. Then whatever the user put in $2 it’d be put in the $2 place in your redirect. Using this method you could have a whole host of dynamic searches and be able to keep track of which search site your users are using.




I get this error when activating the plugin
Dodgy GeezerParse error: syntax error, unexpected $end in C:\Users\David\html\wordpress\wp-content\plugins\short-url-plugin\short-url.php on line 257
I tried to investigate myself but no look since the structure seemed fine and the IDE didn’t detect anything
Great plugin,one question.Is it posible to get the latest added link at the top of the redirects page instead of the bottom?Cause i got a lot of links to mask over (1200) and right now its a drag to scroll down to the end of the page everytime :-s
Dodgy GeezerThanks,good work.
Oh and to add to the issue im using IIS7 with godaddy hosting
Dodgy GeezerMy domain points to a subdirectory of my primary domain. I would like to mask the primary domain name.. http://www.Mydomain.com\MySubdomain\…
Dodgy GeezerSo that it shows http://www.MySubdomain.com\… If i use url masking it hides the \… in my example, and i dont want that. Will this plugin help>?
Short URL Plugin was updated today with (hopefully) easier setup and better functions. If you’ve tried it before and got 404 errors then give this one a bash as the htaccess support has been improved quite a bit. The update should be available from your plugin page just as soon as the Plugin Directory gets a move on and updates the SVN ;)
The Genuine ArticleIs there any chance that these two things could be done in the next version?
1) Option to use hexadecimal numbering (more links before digit rollover)
Dodgy Geezer2) Each post automatically gets a short URL?
Hello! My website is not yet live, but I am attempting to mask two affiliate URLS that are built into my template ad space. I just tested them, and instead of going to the intended masked site, they directed to the only post I have that starts with the letter U.
My permalink structure is year/month/post-name/post-id. Any suggestions?
Dodgy GeezerHi there,
The problem is with your htaccess the rewrite rule isn’t in the right place. Can you email me and attach your htaccess file and I’ll take a look at it. My email addy can be found from the contact page. Thanks :)
The Genuine ArticleThanx a lot for this plugin, i am currently redeveloping my existing website into a new one with wordpress. Only the /u/1 thing isn;t working for me. So a simple thought: replace all u/ by link/ but that ain’t working.
Can you please tell me how i can replace this and find it working properly? Thanx in advance!
Dodgy GeezerIf htaccess isn’t working for you then your link will be http://linktoscript.com/u.php?1 <== or whatever ID number it is. The script also works that way. Htaccess seems to be the biggest problem for users of these scripts. If you need more help or would like me to take a look at your setup to get it working the way you’d like (by the way my support is free, the hire me option is just for those that want to hire me ;) then leave a message on the support page.
The Genuine ArticleThanks a lot for this very helpful plugin. I have been looking for this for a long time. I had it working. Thanks again…
Dodgy GeezerUsed it, works great!
Thanks for sharing
Dodgy GeezerGlad you like it :D
The Genuine ArticleYep – same problem as above. The created shorturl just takes me to a 404. Shame – great idea
Dodgy GeezerYou haven’t got the htaccess set up properly, that’s the problem ;)
The Genuine Article