Self-Hosted Short URL add-on Options Guide

Short URL Generation

Automatic generation of short urls for posts – switch to Yes if you want short addresses to be generated automatically. This option shorten up the loading time of the short URL page link.

The reason – When short URL functionality is used, Easy Social Share buttons first check if there is short address already created for that page. If there is not, that short link is generated. But if Automatic generation of short urls for posts option of the add-on is turned On, short address will be generated, when the post is published. This short address will be ready for use from the buttons and no time for check will be wasted (if there is short URL or no). So that option will fasten up the short URL page link loading.

At the upper right corner under the Edit mode of each page/post you can customize the automatic generated short URLs.

Short URL Length – you can customize the length of the automatic generated short addresses. If you use personal creation of short URLs, that limitation won’t be valid.

Fill only the number of the symbols you wish your automatically generated addresses to use.

Use lowercase letters – switch to Yes if you want your short addresses to be only lowercase.

Use uppercase letters – switch to Yes if you want your short addresses to be only uppercase.

Use numbers – switch to Yes if you want to use numbers in your short addresses.

Custom short URL domain – use this field if you have second mirror domain.

Short URL Usage

Allow short URLs with trailing slashes to work as well – switch to Yes if you want short URLs with trailing slashes to be loaded as valid address link.

This is really helpful option if you suppose that the users will copy/paste your addresses. Usually the users are used to copy the address from the browser’s bar with the trailing slash at the end. If this option is not turned on and the user copy the link that way, this link will not be loaded and will be treated by the browser as non-existing page (Eror 404).

 

Use Short URL Auto-Discovery – if switch to Yes link rel=”shorturl” tag will be added to your page code.

 

Use Short Link Auto-Discovery – if you switch Yes link rel=”shortlink” tag will be added to your page code.

 

Use Short URL Auto-Discovery and Use Short Link Auto-Discovery will make your short URLs recognizable by search engines. These two tags have equal meaning and purposes,so they can be used both. WordPress recommend the shortlink tag relation. Such links are useful for space-constrained applications (e.g. microblogging including Twitter and mobile Internet) as well as any time URLs need to be manually entered (e.g. when they are printed or spoken).

 

Use Self-Hosted Short URL as canonical URL – switch to Yes if you use SEO by YOAST plugin. This option will make your short address to be canonicalize by search engines.

Please note! If you have any SEO ranking reached, this option can totally change these results. Because till the moment of the activation of this option in the search engine rank results have been counted the full address. After this option is switched to Yes the ranking of full URL will not be automatically assigned to short url rank results.

 

Redirect Type – choose method your short URL redirection will be made:

  • WordPress Redirect – uses WordPress build-in function for redirect.
  • Server Side with code 301 Moved Permanently – use if you don’t want the short URLs to be indexed by search engines.
  • Server Side with code 302 Found – use if you want search engines to index this page.
  • Server Side with code 307 Moved Temporary – tells search engines that this redirect may change in the future, so don’t pass along any Link Juice. You should only use 307 type redirects if you think the Target URL may change at some point. On Pretty Links that use 307 type redirects you should enable the “nofollow” attribute to prevent search engines from indexing your links and hurting your ranking.

Short URL List

Create Short URL List

Full URL – paste the full address that you want to transform in short

Custom short URL – let this field empty if you want automatically generated short URL. If you want custom short URL, please write it here.

Press Generate short url and your short URL will be added to the list below.

 

List of current Short URLs

From Short URL List you can delete short URLs you have created with Self-Hosted Short URL add-on.

Final Setting Step

To make self-hosted short URL active go to Easy Social Share Buttons settings menu and choose it as short URl service type. You will find this setting under Social Buttons -> Short URL

Also you can activate short URLs only for Twitter:

Social Buttons -> Social Sharing -> Additional Network Options -> Twitter share short url

How To

How to set Automatic Short URL

Settings Under Self-Hosted Short URLs

1. Go to Short URL Settings  -> Short -> URL Generation and activate Automatic generation of short urls for posts option

2. If you want to set number of symbols for the short URL, use Short URL Length field. The default value is 5.

3. Define if your short URL will contain lowercases in the Use lowercase letters field

4. Define if your short URL will contain uppercases in the Use uppercase letters field

5. Define if your short URL will contain numbers in the Use numbers field

6. If you have mirror domain, fill it in the Custom short url domain field.

What is mirror domain and why you may need it look here.

7. Update your settings.

Settings Under Easy Social Share Buttons

When you set the parameters for your links under Self-Hosted Short Urls Add-on, go to Easy Social Share Buttons menu settings.

1. Go to  Social Buttons -> Short URL

2. Activate usage of short URL for all social networks

3. Choose Self-Short URL Add-on for Easy Social Share Buttons for short URL type.

4. Update your settings.

If you use cache plugin or have any other cache actions active on your installation, please refresh them.

Customized Short URL

Settings Under Self-Hosted Short URLs

1. Go to Short URL Settings -> Short URL Generation and activate Automatic generation of short URLs for posts.

2. There are two ways to set your custom short link:

Variant 1 works only if the Automatic generation of short URLs for posts under Short URL Settings -> Short URL Generation is activated.

Variant 2 can be used, when the automatic display of share buttons is disabled and the buttons are displayed with shortcode or with element of Visual Composer.

Variant 1

(recommended)

[icons size=’fa-lg’ custom_size=” icon=’fa-check’ type=’normal’ position=’left’ border=’no’ border_color=” icon_color=’#c8d341′ background_color=” margin=” icon_animation=” icon_animation_delay=” link=” target=’_self’]     Open the page, which address you are going to customize at edit mode and find the ESSB Self Hosted Short URL section at the upper right corner of the page:

[icons size=’fa-lg’ custom_size=” icon=’fa-check’ type=’normal’ position=’left’ border=’no’ border_color=” icon_color=’#c8d341′ background_color=” margin=” icon_animation=” icon_animation_delay=” link=” target=’_self’]     Press Edit button, type the short address you want and press OK to save. Then update the page.

Variant 2

[icons size=’fa-lg’ custom_size=” icon=’fa-check’ type=’normal’ position=’left’ border=’no’ border_color=” icon_color=’#c8d341′ background_color=” margin=” icon_animation=” icon_animation_delay=” link=” target=’_self’]     At Short URL list paste the full address that you are going to customize:

[icons size=’fa-lg’ custom_size=” icon=’fa-check’ type=’normal’ position=’left’ border=’no’ border_color=” icon_color=’#c8d341′ background_color=” margin=” icon_animation=” icon_animation_delay=” link=” target=’_self’]     At Custom short URL field type the custom short URL and press Generate Short URL button.

[icons size=’fa-lg’ custom_size=” icon=’fa-check’ type=’normal’ position=’left’ border=’no’ border_color=” icon_color=’#c8d341′ background_color=” margin=” icon_animation=” icon_animation_delay=” link=” target=’_self’]     The custom address, that you have created, will be added at the list of current short URLs.

Copy the short address and open the page, which link you are going to customize, at edit mode. Find Easy Social Share Buttons: Share Customization section and paste the short link under Custom Share Message Advanced -> URL.

[icons size=’fa-lg’ custom_size=” icon=’fa-check’ type=’normal’ position=’left’ border=’no’ border_color=” icon_color=’#c8d341′ background_color=” margin=” icon_animation=” icon_animation_delay=” link=” target=’_self’]     Update your settings and clear all caches.

Affiliate Connections

To prepare manual address that hides affiliate connection you can use Automatic Short URL Generation or Customized Short URL. there is no difference which method you will use. Both of them provide exactly the same functionality.

Automatic Short URL address to external link

[icons size=’fa-lg’ custom_size=” icon=’fa-check’ type=’normal’ position=’left’ border=’no’ border_color=” icon_color=’#c8d341′ background_color=” margin=” icon_animation=” icon_animation_delay=” link=” target=’_self’]     Go to Self-Hosted Short URL -> Short URL List

  • paste the affiliate link at Full URL field;
  • press Generate Short URL button.

Automatic generated short link to external connection will be added at the Short URL list below.

Customized Short URL address to external link

[icons size=’fa-lg’ custom_size=” icon=’fa-check’ type=’normal’ position=’left’ border=’no’ border_color=” icon_color=’#c8d341′ background_color=” margin=” icon_animation=” icon_animation_delay=” link=” target=’_self’]     Go to Self-Hosted Short URL -> Short URL List

  • paste the affiliate link at Full URL field;
  • type the custom URL name at Custom short URL field;
  • press Generate Short URL button.

Customized short link to external connection will be added at the Short URL list below.

When you are done with the short URL generation, no matter which method you have used to prepare the link, you need just to copy it and to use it depends on your needs.

Final step

The URLs to affiliate links, created with Self-Hosted Short URL add-on, can be used at any place at page content. They can be also used for share link of the share buttons.

To set the affiliate short link to be custom share link for the social buttons for particular page paste it at Easy Social Share Buttons: Share Customization section under edit mode of the page, where you want to use it.

How to set affiliate short URLs to be shared using the Easy Social Share Buttons?

On Media Sharing With Short URLs

To activate self-hosted short URLs for on media sharing follow these steps:

[icons size=’fa-lg’ custom_size=” icon=’fa-check’ type=’normal’ position=’left’ border=’no’ border_color=” icon_color=’#c8d341′ background_color=” margin=” icon_animation=” icon_animation_delay=” link=” target=’_self’]     Set the add-on for automatic short link generation – instructions here.

The on media short URL option works only with automatic short link generation!

[icons size=’fa-lg’ custom_size=” icon=’fa-check’ type=’normal’ position=’left’ border=’no’ border_color=” icon_color=’#c8d341′ background_color=” margin=” icon_animation=” icon_animation_delay=” link=” target=’_self’]     Activate On Media display method at ESSB menu settings:

Display Settings ->Display Positions: Positions – > Additional button display positions

[icons size=’fa-lg’ custom_size=” icon=’fa-check’ type=’normal’ position=’left’ border=’no’ border_color=” icon_color=’#c8d341′ background_color=” margin=” icon_animation=” icon_animation_delay=” link=” target=’_self’]     Set the On Media display method options:

Display Settings -> Display Positions: On media

[icons size=’fa-lg’ custom_size=” icon=’fa-cog’ type=’normal’ position=’left’ border=’no’ border_color=” icon_color=’#c8d341′ background_color=” margin=” icon_animation=” icon_animation_delay=” link=” target=’_self’]      Activate the networks you want to use for on media sharing

[icons size=’fa-lg’ custom_size=” icon=’fa-cog’ type=’normal’ position=’left’ border=’no’ border_color=” icon_color=’#c8d341′ background_color=” margin=” icon_animation=” icon_animation_delay=” link=” target=’_self’]     Activate Share selected image option:

Share selected image option will make on media buttons to share the image over which they are displayed. Only with that option active the self-hosted short URL generation will work for media items and will use short link for the particular image share.

If the option is not activated the link grabbed from the share buttons will be the one set at the Open Graph’s for the page, where the image is displayed.