Questions tagged [yourls]

YOURLS is a small set of PHP scripts that will allow you to run your own URL shortening service.

YOURLS stands for Your Own URL Shortener. It is a small set of PHP scripts that will allow you to run your own URL shortening service (a la TinyURL or bitly).

61 questions
4
votes
1 answer

{YOURLS} Making "shortening" interface private

I've installed YOURLS on my server and it has public interface installed by default. There's no log-in option when I access it (shortening interface - not the admin area which is password protected). I checked the settings and they all look OK to…
Rafał
  • 39
  • 3
4
votes
5 answers

Fatal Error: ezSQL_mysql requires mySQL Lib to be compiled and or linked in to the PHP engine

I'm attempting to get the link shortening PHP scripts YOURLS working on my basic web server running Lubuntu 12.04. I have a MySQL database created and PHP5 installed. When I attempt to access the administration interface for YOURLS in a browser, I…
d3pd
  • 7,935
  • 24
  • 76
  • 127
3
votes
5 answers

How can WordPress and YOURLS peacefully coexist at the root level?

I want to make a better link shortener service using YOURLS. I've procured a short URL for this: sly.pe. YOURLS is installed and sly.pe/admin is accessible. I'd also like to use WordPress to power most of the consumer facing site, at the URL:…
3
votes
2 answers

.htaccess URL Rewrite Failing for Yourls - The requested URL was not found on this server

Apache/PHP newbie question: I'm trying to get an installation of http://yourls.org/ to work. All seems to have installed OK, and I can add new urls and it shortens them. However the links generated 404. E.g. http://mydoma.in/4 should redirect…
bendecko
  • 2,643
  • 1
  • 23
  • 33
2
votes
2 answers

Use one instance of Yourls URL shortner with multiple domains

I've been looking for a way to use Yourls with multiple domains, the main issue is that when configuring Yourls you need to supply the domain name in the config.php file (YOURLS_SITE constant). Configuring just one domain with actual multiple…
keisar
  • 5,266
  • 5
  • 28
  • 28
1
vote
1 answer

Why does a QR Code with a Yourls url go to two different locations?

I created a qr code with this url generated from yourls installed on my server, http://transaction-realty.com/yourls/3 which should take the visitor to https://stackoverflow.com/ but for some people who view it instead of redirecting to where they…
Chuck
  • 375
  • 5
  • 22
1
vote
0 answers

Upgrading SLEEKY plugin for YOURLS to use new Unsplash API for background

I have a simple YOURLS link shortening website running the Sleeky theme plugin. The background set in config.php as define('backgroundImage', 'https://source.unsplash.com/category/landscape'); It seems the old API does not work any more so the…
clkd
  • 11
  • 2
1
vote
0 answers

Yourls: how to make plugin to accept url in other scheme than http or https

Default Yourls doesn't allow url to be shorten in other scheme than http or https. But I want it to accept them, too. I am going to implement by adding custom plugin. there is a function evaluating url input by users as…
Herbert
  • 540
  • 1
  • 6
  • 18
1
vote
2 answers

YOURLS: 404 and directory issues

My main domain is smile.ws I have installed yourls in smile.ws/yourls. As a result, all my shortened urls are smile.ws/yourls/link instead of smile.ws/link I followed the wiki instructions but that didn’t help. I looked around and found a plugin…
big_smile
  • 1,487
  • 4
  • 26
  • 59
1
vote
1 answer

YOURLS security settings on Dreamhost?

I think I have installed YOURLS correctly, but I get the spinning wheel that never ends when I try to shorten a code. I've tried to follow the instructions on the Troubleshooting page. https://github.com/YOURLS/YOURLS/wiki/Endless-Spinning-Icon I…
1
vote
1 answer

Building dynamic sql statement in PHP

i have that part of code and want to build a dynamic SQL Statement: //Build IN Clause $sql_IN="'".implode("','", $keywords)."'"; //Build COUNT Clause //tbd //Get Clicks from YOURLS LOG $sql_get_clicks=" SELECT …
swapfile
  • 415
  • 2
  • 19
1
vote
1 answer

YOURLS Tracking Links Through Messenger Apps

I am looking into the possibility to combine Piwik with YOURLS to track social link clicks on shortened URLs in Messenger Apps such as LINE Messenger, Whatsapp, etc. Facebook seems simple and straightforward as it simply shows that it directs to…
Jeffrey
  • 11
  • 2
1
vote
1 answer

YOURLS plugin to filter API call for specific MySQL column

I have a website which has a feature to allow users to create shortened URLs. To handle the URL shortening I am using YOURLS (an open-source URL shortener) which I run on a different server of mine and connect the two sites through API calls. I have…
U54
  • 122
  • 1
  • 9
1
vote
1 answer

Set cookie expiration to 2 minutes for yourls

I am new to YOURLS and just set it up on nmdrp.me to be able to forward to my site, namedrop.io. For e.g. nmdrp.me/1. The challenge I am trying to solve is that once I go to nmdrp.me/1 on my Chrome browser the first time, the Counter for the page…
credizian
  • 469
  • 5
  • 20
1
vote
0 answers

Setting up YOURLS url shortener on a Windows azure website

I tried following this article to setup YOURLS url shortener on my website outrika.com. The website is hosted on Windows azure and i have successfully setup custom domain for it. Also i have added all YOURL files to it and have updated the…
Vivek Maskara
  • 1,073
  • 11
  • 29
1
2 3 4 5