Home

Public Domain Photos

Free for commercial redistribution and alteration (All photo from http://publicphoto.org/ is 100% free for use)

URL Shortening – WordPress Plugin

This plugin creates a short url for wordpress blog, but compared to other plugins, the link is created on the same domain with the blog, which means that in terms of SEO is better. Plugin does not specifically require any configuration, just activate and use. By default, links will be displayed in a particular field after content.

For use in custom mode _SELF_SHORT_URL_AUTO must be “false” and you can use function available for displaying links:

get_self_short_url – which returns a short link to the current URL (curent post in loop mode).

function get_self_short_url($mode=1, $echo_mode=false)
where $mode:
0 – is integer mode = real Post ID from wordpress database
1 – Base 16 Mode – the hexadecimal mode, meaning the post ID of wordpress is converted into base 16
2 – Extended Mode – Post ID value is transformed into letters and numbers, which is actually is base 36

and if $echo_mode is true link will be displayed, otherwise it will be returned as a string

For more information please read “read.me.txt” file from plugin folder!

ATENTION: one of these files, “wp-config.php” or “index.php“, must have write access – “index.php” is preferable for faster loading. Otherwise, shortened links will not work.

Download ByREV Self Short Url – WordPress Plugin:

short url

[ Short URL ... ]

Leave a Reply

 

Powered by WordPress ::