Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Did you know that
Elxis 5.x
uses HTML5, CSS3 and pure javascript without external libraries such as jQuery?
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Built-in URL shorterner or Permalink of Article ID
« previous
next »
Print
Pages: [
1
]
Author
Topic: Built-in URL shorterner or Permalink of Article ID (Read 5440 times)
striker
Newbie
Posts: 39
Built-in URL shorterner or Permalink of Article ID
«
on:
August 15, 2024, 10:06:28 »
Hi datahell and team:
I am trying to figure out if there is another way to shortened the SEO friendly URL when sharing to social media sites.
Example:
Origional SEO friendly URL is, myDomain.Com/seo-friendly-url-of-article-id25
Objective: myDomain.Com/artID
artID can be the actual article ID number
Do I need a plugin for this?
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Built-in URL shorterner or Permalink of Article ID
«
Reply #1 on:
August 15, 2024, 13:47:39 »
You don't need a plugin for that, you can use any shortening URL service available.
For instance, this:
https://www.elxis.org/blog/2-factor-authentication.html
can become this
https://tinyurl.com/2zsxu6pz
by using
https://tinyurl.com
or this
https://bit.ly/3M4yKh8
by using
https://bitly.com
(requires sign in)
or this
https://rb.gy/t8nva2
by using
https://free-url-shortener.rb.gy/
or this
https://shorturl.at/SIJE9
by using
https://www.shorturl.at/shortener.php
etc... you can use any 3rd party service you want.
PS.
A warning:
My recommendation is
not to use URL shorting services
as you rely on a third party provider. Also from security perspective the final user doesn't know where he will be redirected,
https://tinyurl.com/2zsxu6pz
might be a link to your site or to a porn site or to a phishing site to steal your personal credentials or credit card. I know people don't pay attention to that, but I personally never click such links, especially when they are inside an email message.
Tip:
You can also setup your own redirections in apache's htaccess to shorten URLs (or something more advanced
like this
).
For example you can add a redirection from this:
https://www.example.com/123
to this:
https://www.example.com/first-category/sub-category/my-article.html
«
Last Edit: August 15, 2024, 13:56:03 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
striker
Newbie
Posts: 39
Re: Built-in URL shorterner or Permalink of Article ID
«
Reply #2 on:
August 28, 2024, 17:56:55 »
Tip:
You can also setup your own redirections in apache's htaccess to shorten URLs (or something more advanced
like this
).
For example you can add a redirection from this:
https://www.example.com/123
to this:
https://www.example.com/first-category/sub-category/my-article.html
[/quote]
Thanks for this suggestion datahell. I implemented this on my blog.
The intended audience of the link are my true followers who are familiar with the services I offer.
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Built-in URL shorterner or Permalink of Article ID