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
0
votes
1 answer

YOURLS redirection not working in NGINX - file downloads instead

I am trying to configure YOURLS for my site. I have configured the virtual host in my nginx and the main application works completely fine. But when clicking a short URL, instead of redirecting to real URL it is actually downloading the file. I see…
Shashank
  • 3
  • 3
0
votes
1 answer

yourls shortner with multiple ampersands

I'm using a proxy to shorten url using Yourls, the proxy is calling jquery ajax method (GET) the url parameter of yourls-api.php passed is http://localhost/webapp/default.aspx?x=499833&y=244716&resolution=1&layer=image&cc=uk but the Yourls API is…
Rishi
  • 33
  • 6
0
votes
1 answer

Adding entry's to YOURLS .htaccess causes 500 internal server error

I have a website, tini.link. It is powered by a heavily modified version of YOURLS. Everything is working fine, people can go and create short link and so on. I want to speed the site up, but every time I try to add anything to .htaccess, I just get…
flynntes
  • 13
  • 4
0
votes
1 answer

Removing YOURLS branding from stat page

First off, here is my url: http://tini.link So, basically, everything is going well. I have a completely custom homepage, with anti-spam and all that. Then a results page, with all sorts of special stuff. But, I want to customise the stats page. I…
flynntes
  • 13
  • 4
0
votes
1 answer

YOURLS Redirect with Javascript

Currently I am using YOURLS PHP URL shorterning script. In their functions.php, seems like they support both redirection which is with PHP header location and javascript. Functions.php I want to redirect with javascript, which will show me the…
spotlightsnap
  • 1,095
  • 7
  • 21
  • 26
0
votes
1 answer

get single parameter out of json_decode

I am using YOURLS to create my own URL shortener. The below is the output I get after doing a POST to the api. My problem is I cant seem to get just the shorturl parameter out. {"url": {"keyword":"ODuQT", "url":"http:\/\/apple.com.sg", …
chongzixin
  • 1,951
  • 4
  • 28
  • 55
0
votes
2 answers

Upgrating yourls - shortest time to create new url

I'm thinking how to alter yourls to make new shorten urls faster. I don't really see where it is in the code, but when "yourls" is making new shorten url, it adds title to the database, so I assume that it has to open given url and parses it to get…
Piotr Łużecki
  • 1,031
  • 4
  • 17
  • 33
0
votes
1 answer

.htaccess issue with ExpressionEngine and YOURLS

I have a primary site running ExpressionEngine and I am trying to get YOURLS running in a subfolder called "work", ie: http://foo.com/work/ for short urls and EE is running at the root, ie: http://foo.com/. Please note there is no 'www'. The…
Marty
  • 2,606
  • 7
  • 29
  • 35
0
votes
2 answers

Unsuccessfull redirecting on 'YOURLS' url shortener

so I just implemented the YOURLS script successfully, or so I thought. It generates the shortened URL succesfully and adds it too the YOURLS url ID table, but when I try and navigate to the website, via using the new shortened url. I always get the…
AlexDuncan
  • 95
  • 1
  • 3
  • 12
0
votes
1 answer

RewriteRule do THIS if image file, or else do THAT

I'm having a hard time having this to work.. I have installed YOURLS wich is a PHP script to shorten urls. In order to work, it needs to have this: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME}…
user2040633
  • 1
  • 1
  • 1
0
votes
2 answers

How to show selectable text in Popup? Javascript & PHP

I'm working with a URL shortener script Yourls. Work is going fine after getting some help from you guys. Thank you for that. Every button is pressed for shorten URL, a popup appear, showing Short URL for that Page. This simple method is fine for…
Taimoor
  • 63
  • 2
  • 10
0
votes
1 answer

Protect YOURLS with htaccess

I have a normal YOURLS installation and it is working fine. But I want to deny access to folders and files, redirecting all the traffic, except my IP, to domain root without losing the ability to do the normal redirection. Something…
rlcabral
  • 1,496
  • 15
  • 39
-1
votes
1 answer

Problem with yourls.org redirects on windows 2003 with ISAPI rewrite

I've setup a yourls.org (URL shortening service) on a windows 2003 VPS server I have, using ISAPI rewrite. I already have ISAPI rewrite installed and working with Wordpress, so I know that is working. I have used the rules suggested from the…
tadywankenobi
  • 745
  • 1
  • 10
  • 28
-1
votes
1 answer

YOURLS: 403 Forbidden on mydomain.com and 502 Bad Gateway on mydomain.com/admin

so I'm trying to set up a YOURLS URL shortener on my Ubuntu 16.04 DO droplet. I'm very new to MySQL and PHP, so I can't figure out what might be wrong. I'm pretty good with Nginx as I've been using it forever, but it seems as if these errors are…
benobro
  • 19
  • 3
-1
votes
1 answer

Problems redirecting from a 403 using .htaccess (Yourls)

I'm using a php app called Yourls. It's a self-hosted url shortener and it's pretty great, I'm happy with its overall functionality. Due to the nature of its development however there isn't much in the way of support. Let's pretend the base url is…