I used this back in the day, about 6 years ago. It was exactly what I wanted, to have every page auto generate a short URL, any plugin that can do this now?
Ideally, auto generate a short url, and display it on the page itself.
]]>Looks like the bug is really minor. I was able to fix it by replacing string 226 to
$shortn_url = trim(get_post_meta( $post_id, SHORTN_IT_META, true ));
As this module is not maintained anymore, I do not suggest to use it for new projects, but if you have old project, this might help.
This post is a duplicate for https://www.ads-software.com/support/topic/short-url-changes-when-post-is-updated/
]]>Here is the case,
When I switch to child template most of, but not all, of shortn links are blank screen with following error in my log:
PHP Warning: Cannot modify header information – headers already sent by (output started at /home/newday/public_html/mysite.com/wp-content/themes/theme-child/functions.php:51) in /home/newday/public_html/mysite.com/wp-includes/pluggable.php on line 1210
but when i switch to my main theme all shortn links works fine.
any help will be appricated
]]>I have been running into the problem lately where in the Short URL generated by Shortn.It changes if the post is updated in any way. This was never the case previously so not sure if it’s an update that has broken the functionality in some way. Any idea how to get the generated short url to stay the same? Thanks.
]]>Is this plugin still actively managed? The documentation links are going to be a broken website. Would love to use it with a custom domain but need to the docs in order to be able to see how that gets configured.
]]>Greetngs,
my https powered site (also backend) leads to http shortlinks.
Everything else works fine…
Any hint?
Regards, Andreas
]]>If someone of you guys need a 301 redirect instead of a 302 (like me), just change this code:
wp_redirect( $permalink . str_replace( $current_rel_url, ”, $_SERVER[ ‘REQUEST_URI’ ] ) );
into
wp_redirect( $permalink . str_replace( $current_rel_url, ”, $_SERVER[ ‘REQUEST_URI’ ] ) , $status = 301 );
in the shortn-it.php file.
]]>Does this pluging allow to automatically insert the shortened url into a tweet, facebook or linkedin share when someone tries to share a post from the website using social sharing pluggin like Ultimate Social Plus?
]]>@docofmedia Hi there, I originally used URLs that were 5 characters long, and now I want them to be 4 characters long instead. I updated the “Shortn URL Length” to 4 instead of 5, and I want to regenerate the short URLs for my thousands of pages and posts. How can I automate this?
Note: I haven’t used this live yet, so I won’t be breaking any previously generated short URLs.
https://www.ads-software.com/plugins/shortnit/
Would uninstalling and deleting remove all of the data? Or do I need to somehow manually remove the data? If so, how would I go about that?
]]>Great job on the plugin by the way.
I was wondering if you could add an option to manage the shortened links?
Also, if I e.g. used a widget to show the shortened url of the current page, and I call the_full_shortn_url() to get it, would your plugin provide me with a shortened url if the current page is a special page, like a category page, archive, or maybe even a search results page? That would be a great function so that I can add it on a widget
This only happened AFTER the 4.5 WordPress update.
There is a page
https://nc3.mobi/landing-page-index/twitter-index/twitter-april-2016/
I created a short link t1604
using https://nc3.mobi/t1604 brings up
https://nc3.mobi/twitter-april-2016__trashed/
^^ which is not a page I have.
so I edited the same page to have a short link xxx
using https://nc3.mobi/xxx
works just fine and displays
https://nc3.mobi/landing-page-index/twitter-index/twitter-april-2016/
as it should.
This schema has been working since at least December 2015. See https://www.nc3.mobi/t1512
https://www.nc3.mobi/t1601
etc
What is wrong with “t1604” as a short link?
this may be related to the underlying ShortnIt database
When I edit shortn.it for a page I get told “This short URL is available!” even when it should not. Ex: If for the April page I try to use T1603 I am told that it is available, but T1603 is in use and should NOT be available.
This only happened AFTER the 4.5 WordPress update.
]]>Hello
I’m just trying to create a short alternate URL link to an existing page, nothing happens (error 404).
ie: instead orignal URL “mysite.com/?p=3911” I want to use “mysite.com/abc”
Note; I’m using defult permalinks, and I don’t want to change all existing internal links.
]]>When I post the long URL to Facebook, it shows the short URL, why is that? Can we choose for it to show the long URL?
]]>I have this set up and it’s working great for the short url, and it’s redirecting perfectly with my custom url.
I did notice that when I go directly to the short URL root, it is not loading all fonts and styles and the site is basically broken.
Is there a way to have the root short URL auto redirect to the long URL automatically?
for example:
redirect to
https://www.my-long-url-sucks.com
I know the direct short url isn’t generally used, but users will stupidly go to it anyway, I can guarantee it.
]]>Hi, I try to repeat here what I wrote in the reviews section:
we use this plugin together with Duplicate Post Plugin. When we create a new Draft from a previous post, this plugin duplicates all personalized fields, so, sadly, the Short URL don’t change from the previous post. Another similar issue we have already got (and then solved) with JetPack’s Publicize. In Duplicate Post’s settings we can specify the special fields that the plugin must NOT duplicate, so we kindly ask to you, the developer, if is it possible to have the name of this special field, so we can have a fresh, new short URL even in the case of duplicated / cloned posts. Thank you very much!
]]>Hi,
how we can set shorten URL for each language ?
I have 2 language on my website, and i want to create a shorten URL for En version and another shorten URL for Fr version.
Thanks,
]]>Hello,
I have installed the plugin, registered a new domain, pointed the name servers and then redirected it on my hosting account. I then added the new short name domain to the plugin settings and the new custom short links aren’t working. Any ideas?
Thank you
]]>Ist it possible to generate a short link on the fly?
Like an input field in the admin area where I paste an URL and than clicking on a button to shorten this URL with my own domain?
]]>Using Shortn.it v 1.7.4 I’m getting a 404 error.
My short domain: https://cole.uno is aliased via cPanel to my full domain name: https://coleruddick.com and the alias works fine. (Custom DNS settings confirmed on domain host)
Short links generated by the plugin using the full domain name work fine, but when the plugin is configured with the short domain, the short links result in a 404 server error.
An example of the 404 with short domain can be seen here: https://cole.uno/AKK1m
Yet, using the plugin with my full domain, the short link works: https://coleruddick.com/AKK1m
I’ve read through the other support posts and plugin documentation, but I must be missing something. Ideas?
Thanks in advance!
]]>When I use the “Tweet this” plugin, which does allow for using short links, the plugin will not pull any kind of shortlink for a post when your plugin is activated. When I deactivate, it uses the default WP short link. When I activate your plugin, it uses the entire post link even though it is set to use shortlinks.
]]>Shortn.it plugin changed my canonical urls to the shortened versions. I find your plugin very useful for posting links in social media, but I don’t want to change my canonical urls. I had to disable the plugin for now. Is there any way to disable this option so that I can start using the plugin again?
Ref: https://github.com/wp-plugins/shortnit
1.7.3
ADDED: Filter WP SEO by Yoast canonical links with Shortn.It URLs
It is not working with Jetpack publicize… Please Guide
]]>Hi,
the plugin works great but there is a small issue with WPML.
WPML adds a language code to the URL which shortn.it doesn’t consider when creating the new link.
Concrete case:
– My default site url is: https://www.xyz.com
– with the added language code added my WPML it becomes: https://www.xyz.com/en
– the short url created is https://www.xyz.com/JVaKxja which works but…
– the_shortn_url_link and the_full_shortn_url return https://www.xyz.com/en/JVaKxja (with the language code which breaks the link).
any possible fix?
Thanks a ton
Steven
Hi! Just wondering if there was anyway to verify shortn.it links with Twitter cards verification? Right now Twitter Card validator can not render the Shortn.it links…
Just wondering…
]]>Hi
Thanks for plugin
Something happens when I upgrade the plugin to version 1.7
This error is displayed:
Parse error: syntax error, unexpected '[' in .../wp-content/plugins/shortnit/shortn-it.php on line 76
Please check
Sepas ??
]]>Hello,
Thanks for plugin,
I have noticed facebook comments adding query string ?hc_location=ufi URL, causing 404
example shortdomain: short.me/KYa?hc_location=ufi (causing 404 )
example shortdomain: short.me/KYa (works fine )
example main domain: maindomain.com/whateverpage?hc_location=ufi (works fine)
Any suggests?
Thank you
]]>Hi,
I get the following with debug on, after saving.
Notice: options.php was called with an argument that is deprecated since version 2.7! The shortn_it_permalink_prefix setting is unregistered. Unregistered settings are deprecated. See https://codex.www.ads-software.com/Settings_API in ../wp-includes/functions.php on line 3495
Let me know if there is anything I should look into about this and I will report back.
]]>I am not using cPanel. Have a VPS. Server config is:
ServerName www.example.com
ServerAlias short.url
Shortn.It works fine. can go to short.url/ and it takes me to example.com/path/to/the/post.
I found that if I browsed to short.url/?p=<PID> it would simply load the page in question, not redirect it. I was able to overcome this and a couple of other URL issues using Apache Rewrite rules.
The only thing I have not been able to figure out it if I have a page at example.com/page-name and I browse to short.url/page-name, it will load the page, rather than redirect to the proper domain.
Wondering if anyone else has come across this? Is there something I have missed?
]]>My blog uses the http//www.example.com/blog style URL. When I enable shortn.it plugin the shortened URL’s don’t work.
For example let’s say I have a post with url like: https://www.example.com/blog/2015/01/01/some-long-name. I edit it, and update so that it gets a short URL like https://example.com/fObr
When I try to visit the short link, I get a 404 error from Apache. When I try to visit https://example.com/blog/fObr I get WordPress 404 page.
Any suggestions how to configure the plugin?
Also, I’m using WP-SuperCache. Could this be affecting the redirects?
]]>Hi
Do I need /(should), get a “URL Shortener API” from Google?
Thanks
]]>