* When using other versions some differences are possible to occur
** Screenshots were taken from a PC
Table of Contents
You can download “Shortlink” plugin here:
Note: Сlick the “Save Changes” button in order to apply any changes.
1.1. Open your WordPress Admin Dashboard and find the menu on the left.
1.2. Select “Shortlink” > “Settings” in your dashboard menu to open the “Shortlink Settings” page.
2. Shortlink Settings
Use the options of the “Shortlink Settings” tab to make the general settings of the plugin.
2.1. Google API Console
Use the options of the “API Console” section to activate the API keys obtained from Google.
2.1.1. Google API Console Keys
Paste the obtained from Google keys into the “API Key For Your Firebase Dynamic Links Account”, “Client ID” and “Client Secret” fields.
2.1.2. API Key For Your Firebase Dynamic Links Account
To start your work with the “Google Firebase” service gets the API key for the Firebase API first.
126.96.36.199. Go to https://code.google.com/apis/console page and click the “Create Project ” button.
188.8.131.52. Go to the “API Library” and click the “Firebase Dynamic Links API” section.
184.108.40.206. Click the “Enable” button to activate the API library.
220.127.116.11. Open the “Credentials” tab and click the “Credentials in APIs&Services” link.
18.104.22.168. Select the “API key” item from the “Create credentials” drop-down list.
22.214.171.124. The API key for browser application will be created.
126.96.36.199. Click the “Restrict key” button to prevent unauthorized use of the key in production.
2.1.3. Create Google Client ID and Client Secret
To start your work with the “Google Firebase” service create “Google Client ID” and “Client Secret”.
188.8.131.52. Open the “OAuth consent screen” tab and choose the “External” user type. Click the “Create” button.
184.108.40.206. The “OAuth Consent Screen” settings page will open. Select the email address from the dropdown list, enter your product name (i.e. name of your website) and save changes.
220.127.116.11. Switch back to the “Credentials” tab. Click the “Create credentials” and select the “OAuth client ID” from the dropdown menu.
18.104.22.168. Select the “Web application” value for the application type option and click the “Create” button.
22.214.171.124. You will see your Client ID and Client Secret values in the “OAuth client” window.
126.96.36.199. Copy the obtained keys, paste them into the “Client ID” and “Client Secret” fields found on the plugin’s “Shortlink Settings” page and save changes.
2.1.4. Redirect URI
To start your work with the “Google Firebase” service copy “Redirect URI” link to your project.
188.8.131.52. Copy the “Redirect URI” link.
184.108.40.206. Click the “Edit” icon to change the OAuth 2.0 client IDs.
220.127.116.11. Click the “Add URI” button and paste the copied “Redirect URI” into its field.
2.2. Firebase Console
Use the options of “Firebase Console” section to get Domain Link for your website, register your project by the Firebase service first.
2.2.1. Domain Link for your google project
Use the field of the “Domain Link for your google project” to paste the domain link of your project that obtained from Google Firebase and to hook up the service to your site.
18.104.22.168. Follow the https://console.firebase.google.com link and click the “Create a Project” button.
22.214.171.124. Fulfill the four steps of project registration and click the “Add Firebase” button.
126.96.36.199. If the project is successfully created you will see the “Your new project is ready” notification.
188.8.131.52. Open the “Grow” > “Dynamic Links” page and click the “Get started” button.
184.108.40.206. Enter the domain for your short links (i.e. name of your website) and click the “Continue” button.
220.127.116.11. You will see the notification, informing that your domain name “has been verified and approved for use”. Click the “Finish” button.
18.104.22.168. Copy the registered domain link, open the “Shortlink Settings” page of the plugin and paste the link into the field of the “Domain Link for your google project” option. Save changes.
Use the options of the “General” section to scan website for links, replace and restore external links.
2.4.1. Scan Website
Use the “Scan Website” option to scan your website for new external links.
22.214.171.124. After the scanning, all the long/short links of your website will be displayed on the “Links” page.
2.4.2. External Links
Use the “External Links” option to replace, restore and clean the shortlink database.
126.96.36.199. Click the “Replace Now” button to replace all the external long links of your website by the short ones.
188.8.131.52. After saving changes the replaced links will look as follows.
184.108.40.206. Click the “Restore Now” button to restore all the external links of the website with the consideration of the updates.
220.127.116.11. After saving changes the restored links will look as follows.
18.104.22.168. Click the“Restore & Clean DB Now” option to restore all links of your website and clear the database.
2.5. Miscellaneous Settings
Use the options of the “Miscellaneous Settings” tab to make the settings regarding the track usage and default settings.
2.5.1. Track Usage
Enable the “Track Usage” option to allow tracking plugin usage anonymously.
2.5.2. Default Settings
Click the “Restore Settings” button to reset all the settings made previously and revert them to the default ones.
22.214.171.124. Click the “Yes, restore all settings” button to confirm the procedure.
2.6. Custom Code
Use the “Links” page tab to see and to edit the long links selectively found on your website.
3.1. Add New
Click the “Add New” button to create new shortlinks and place them on the table.
3.1.1. Paste a long link into the “Type long links here” field, click the “Get short links” button and you’ll get the short link in the “Short links will appear below” field.
3.2. Bulk actions
Use the bulk actions (replace/restore/delete) from the dropdown of the “Table of links for Firebase Dynamic Links” to apply the settings for selected links.
126.96.36.199. Choose the “Restore” bulk action to update the chosen long link.
188.8.131.52. Choose the “Replace” bulk action to replace any long link on a post/page by a short one.
184.108.40.206. After the application of the bulk actions, the long link will be replaced by the short one.
Help & Support
Visit our Help Center if you have any questions — https://support.bestwebsoft.com/
We provide additional services such as WordPress themes & plugins development,
graphic design, custom programming.
Contact us now to get a free quote — https://bestwebsoft.com/contacts/