Git Product home page Git Product logo

yourls's Introduction

Your Own URL Shortener

CI Scrutinizer Code Quality PHP Version Support Packagist OpenCollective OpenCollective

YOURLS is a set of PHP scripts that will allow you to run Your Own URL Shortener, on your server. You'll have full control over your data, detailed stats, analytics, plugins, and more. It's free and open-source.

Quick Start

Get YOURLS :

  • Download the latest release
  • Using Composer? You can simply composer create-project yourls/yourls . in an empty directory.

Install YOURLS:

  • Read yourls.org for starters
  • The complete documentation is on docs.yourls.org and contains everything from beginners to experts.

Community news, tips and tricks

Contributing

Feature suggestion? Bug to report?

Before opening any issue, please search for existing issues (open and closed) and read the Contributing Guidelines.

Backers

Do you use and enjoy YOURLS? Become a backer and show your support to our open source project.

Sponsors

Does your company use YOURLS? Ask your manager or marketing team if your company would be interested in supporting our project. Your company logo will show here. Help support our open-source development efforts by becoming a sponsor.

License

Free software. Do whatever the hell you want with it.
YOURLS is released under the MIT license.

yourls's People

Contributors

adigitalife avatar armsby avatar bluemorbo avatar bstname avatar claytondaley avatar dependabot[bot] avatar dgw avatar franzwilding avatar github-actions[bot] avatar gmolop avatar hawaiianchimp avatar j0wi avatar jarebear6expepjozn6rakjq5iczi3irqwphcvb avatar jensspanier avatar joshp23 avatar leocolomb avatar mibe avatar nexxai avatar nicwaller avatar ozh avatar paulgoodchild avatar preovaleo avatar rosehosting avatar seandrickson avatar sxn31 avatar szepeviktor avatar wocanilo avatar yakovmanshin avatar yourls-bot[bot] avatar zach2825 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yourls's Issues

admin panel works but links created go nowhere

This is a COPY of Issue 10: admin panel works but links created go nowhere, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**What steps will reproduce the problem?**
1. attempt to visit one of the shortened urls


**What is the expected output? What do you see instead?**
Expect to be redirected. Instead, no redirection occurs and the page is not
found.

**What version of the product are you using? On what operating system?**
1.1

**Please provide any additional information below.**
I have already tried the fix discussed before of commenting out line 23 of
yourls-go.php but that didn't seem to change anything.

To see what I am talking about visit: http://dbz.me/1

Links not opening correctly

This is a COPY of Issue 11: Links not opening correctly, filed on Google Code before the project was moved on Github.

  • Submitted on 2009-07-23T11:09:34.000Z by neil.maclean
  • Status: Invalid

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**What steps will reproduce the problem?**
1. yourls seems to be installed correctly
2. creates a link as expected
3. click on link and it gives a 404

**What is the expected output? What do you see instead?**
I have tried various suggestions made below but the links still won't open correctly

**What version of the product are you using? On what operating system?**
1.1

**Please provide any additional information below.**
I have successfully set up a different url shortening service on my server before so I guess it has 
everything I need. And the process works ok right up to the point of clicking on the link. So I am 
at a bit of a loss as to what to do. Any more suggestions welcome.
thanks

If Capital letter inserted with base 64- drops that later

This is a COPY of Issue 2: If Capital letter inserted with base 64- drops that later, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**What steps will reproduce the problem?**
1. Install with base 64 encoding
2. Try to add a custom url with a capital letter first

**What is the expected output? What do you see instead?**
Should have Digg, not igg

**What version of the product are you using? On what operating system?**
1.0, Ubuntu Server

**Please provide any additional information below.**
See my other issue for server information

Missing parameter "action"

This is a COPY of Issue 40: Missing parameter "action", filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

Hi,

I tried to create a html file with the form to shorten the url's, pointing
the action to "http://mydomain.tld/yourls-api.php".

But it returns a "Missing parameter "action".

Maybe someone knows how can I solve this issue, please? :)

Regards,


Marcos

feature request: tagging urls

This is a COPY of Issue 13: feature request: tagging urls, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

Sorry, couldn't find any other way to suggest this short of mailing you
directly.

I installed yourls today and so far I'm liking it => thanks!
One feature I'd really appreciate is the ability to add 1 or more tags to
urls. This would effectively allow you to search through your
urls/bookmarks by tag, making it far more powerful (seems reasonable enough
since it's already storing your bookmarks).

Is this something you'd consider?
Thanks!

rw

Feature Request

This is a COPY of Issue 39: Feature Request, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

The length of the custom key word (a meaningful long keyword) should as
long as anyone wants.

Ralph Nusser
Sogetes Computer-Services
www.sogetes.com

max integer problem?

This is a COPY of Issue 12: max integer problem?, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

In base62 mode, if you enter a "large" custom URL like the following:

abcdefghijkl

(which equals this numerical ID: 19048933289406573251)

then the URL is added and shows "abcdefghijkl" initially via ajax, but
when you reload the page the link_id has changed to: LygHa16AHYF
(db->id == 18446744073709551615)

18446744073709551615 is the max that the unsigned bigint field can hold.

Rather than throw an error, it looks like mysql silently changes the
value (if it's too big) to the largest value it can hold.

There might need to be an explicit check that the numerical ID is <=
to the max value.

Random urls?

This is a COPY of Issue 41: Random urls?, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**Please be as accurate as possible. Using understandable English also**
**helps:)**

**What steps will reproduce the problem?**
1. Creating a new short url
2. The new url works, but is a sequential number: 1, 2, 3 and so on.
**3.**

**What is the expected output? What do you see instead?**
I thought I would see a short, random url. Is there a setting that produces
a random set of charcters? The sequential numbers would cause privacy
issues, I would think.

**Please write in your current versions of YOURLS, PHP, OS, Browser if**
**applicable, etc...**
Running 1.3-RC1 on PHP 5 and Apache. I'm using Firefox on Windows XP.


**Please provide any additional information below.**

Post to Twitter when a new Wordpress blog entry is scheduled or created through the API

This is a COPY of Issue 32: Post to Twitter when a new Wordpress blog entry is scheduled or created through the API, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

Currently a new tweet is only sent when posting immediately through the admin 
interface. It's not sent if the entry was previously scheduled or posted 
through the API.

Feature request: Finer-grained click tracking

This is a COPY of Issue 16: Feature request: Finer-grained click tracking, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

Would it be possible to log clicks (rather than just counting them) with
the time and IP address of the visitor? I realize this is a big leap but it
would put YOUrls on parity with the big-name shorteners out there
stats-wise. Even cooler: include browser-agent information in the logs for
even more detail.

Thanks a ton, whether you end up implementing this feature or not. Will
probably use YOUrls in a production environment, at which point may want to
donate to the cause :)

yourls creates short URL but the short url is returning ERROR 404

This is a COPY of Issue 19: yourls creates short URL but the short url is returning ERROR 404, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**What steps will reproduce the problem?**
1.I use the bookmarklet
"javascript:void(location.href='http://rolli.li/u/create.php?format=simple&amp;action=shorturl&amp;url='+escape(location.href))"
to create a short url
**2.**
"http://planetozh.com/blog/2009/06/introducing-yourls-your-own-url-shortener-and-its-wordpress-plugin-companion/"
was shortened to "http://rolli.li/u/1" (ist also in the database, so
everything seems correct)

**What is the expected output? What do you see instead?**
When I use http://rolli.li/u/1 I get the answer 404 Not Found <- This is
true for any URL I use and shorten

**Please write in your current versions of YOURLS, PHP, OS, Browser if**
**applicable, etc...**
yourls version 1.2, PHP 5.2.9, Browser: Chrome and Firefox

**Please provide any additional information below.**
I dont know if there could be somesing wrong in the global .htacces config
...would be nice to know how the short URL http://rolli.li/u/1 should work
the is no folder 1 under folder u.

Please help
Thank you
Kind regards
Rolli

enhancement feature requested

This is a COPY of Issue 42: enhancement feature requested, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

I am Herby suggesting a very useful feature. 

If we have to retweet or tweet a post we have to first go into the edit
mode of that post and then tweet by clicking on the retweet link

It would be great if we can have a quick button for tweets near the quick
edit button on the page having list of all post. 

i.e at http://www.example.com/wp-admin/edit.php page. 

Can create capital URL - link doesn't work though.

This is a COPY of Issue 6: Can create capital URL - link doesn't work though., filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**What steps will reproduce the problem?**
1. Install with Base-62 support
2. Add a capital short url
3. Try and go to it

**What is the expected output? What do you see instead?**
Should go to digg.com  Got this: http://yaurl.in/Digg

**What version of the product are you using? On what operating system?**
1.0.1 - Ubuntu Server 8.04 LTS

**Please provide any additional information below.**
http://yaurl.in/me works fine.
You can play around here: http://yaurl.in/admin/
http://yaurl.in/info.php is my PHP setup.

bookmarklets

This is a COPY of Issue 29: bookmarklets, filed on Google Code before the project was moved on Github.

  • Submitted on 2009-08-25T00:01:41.000Z by ChrisKubica
  • Status: Fixed

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

is it possible to have the site be private but still let the public use the bookmarklets?

GoDaddy Htaccess Problem / Fix

This is a COPY of Issue 25: GoDaddy Htaccess Problem / Fix, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

While using GoDaddy to host YOURLS, I received a 404 error for all short URLs.

Changed this line of htaccess:
RewriteRule ^([0-9A-Za-z]+)/?$ yourls-go.php?id=$1 [L]

to:
RewriteRule ^([0-9A-Za-z]+)/?$ /yourls-go.php?id=$1 [L]

And short URLs work. My thanks to Max Leadford on the WarriorForums.
Submitted here for posterity.  

autocopy to clipboard or firefox extension

This is a COPY of Issue 21: autocopy to clipboard or firefox extension, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

Is it possible adding a script for autocopy to clipboard.
And like this, is someone has made firefox extension for yourls ?

Thank you ! :)

allow multiple entries of the same URL

This is a COPY of Issue 35: allow multiple entries of the same URL, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

Currently if you try to enter an URL that already exists you get the error
"<URL> already exists in database". However, there could be several
purposes where one would want to enter the same URL more than once. For
example: one could make several links and have them distributed via several
sites to see, how many people click this link via Twitter and how many via
my blog or one could make a short URL for Twitter but also a slightly
longer version with a custom URL which is easier to remember. 

So when a URL is added that already exists in the database a warning should
come up saying something like: "This URL already exists as <shortURL>. Do
you still want to create a new short URL?" and the user can choose whether
or not a new short URL should be created.

404 problem fixed for 1and1

This is a COPY of Issue 15: 404 problem fixed for 1and1, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**What steps will reproduce the problem?**
1. Entering a long link as usual
2. Create the shortened URL
3. Clicking on the shortened URL returns a 404

**What is the expected output? What do you see instead?**
You expect to be taken to the web page of the long URL but instead get a
404 error.

**Please write in your current versions of YOURLS, PHP, OS, Browser if**
**applicable, etc...**

I'm using yourls 1.2 on a basic (linux) hosting package from 1and1.

**Please provide any additional information below.**

I am a complete novice and this problem proved vexing.  But happily in my
Googling for a solution I stumbled upon a non-related .htaccess issue with
1and1.  I tried something and the problem was resolved.

Edit line 6 in the .htaccess file by adding a "/" in front of yourls-go.php.

OLD:
RewriteRule ^([0-9A-Za-z]+)/?$ yourls-go.php?id=$1 [L]

NEW:
RewriteRule ^([0-9A-Za-z]+)/?$ /yourls-go.php?id=$1 [L]

This resolves the problem.  Now if only I can figure out how to get the
short URL to appear without refreshing the page. :-)  1and1 is peculiar, to
say the least.

Godaddy Shared Hosting

This is a COPY of Issue 31: Godaddy Shared Hosting, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**Please be as accurate as possible. Using understandable English also**
**helps:)**

**What steps will reproduce the problem?**
1. .htaccess mod_rewrite re-writes admin URL's 
**2.**
**3.**

**What is the expected output? What do you see instead?**
had to create separate .htaccess files for each directory w/ either
mod_rewrite On/Off


**Please write in your current versions of YOURLS, PHP, OS, Browser if**
**applicable, etc...**


**Please provide any additional information below.**
Could this be done in one .htaccess file?

Donations?

This is a COPY of Issue 24: Donations?, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

I am not a developer, so is there a place where I can donate to this project for all your great work?

Thanks so much for Yourls.

Could someone help me on form creation?

This is a COPY of Issue 50: Could someone help me on form creation?, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

Hello,

I am not getting to create a form to use Yourls as a URL shortener.

I need to create a form as the below mentioned, for example:

http://fmp.fm/index.php

I tried, and tried, and always get the "Missing parameter "action" error. I
read the readme file, but does not understood where am I wrong.

Could someone please help me? :)

Regards,

Problem with reload after shorten url

This is a COPY of Issue 20: Problem with reload after shorten url, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**What steps will reproduce the problem?**
1.enter long url
2.clic shorten url
3.page doesn't reload

Youtld 1.2, php 5,mysql 5, firefox 3.5.2

Download for version 1.0.1 contains .svn folders

This is a COPY of Issue 5: Download for version 1.0.1 contains .svn folders, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**What steps will reproduce the problem?**
1. Download http://yourls.googlecode.com/files/yourls-1.0.1.zip
2. Open/unzip the file.

**What is the expected output? What do you see instead?**
I expect to see only the files I need, however, the .svn folders are also
inside the file.

**What version of the product are you using? On what operating system?**
1.0.1 (SHA1 Checksum: 96a32b65cfbdae3e129c22c5e8045763721c0e58)

XSS

This is a COPY of Issue 27: XSS, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**Please be as accurate as possible. Using understandable English also**
**helps:)**

**What steps will reproduce the problem?**
1. enter "><script>alert('hey')</script> as your URL you want to shorten.
2. admin browses to admin page
3. script executes.



**Please write in your current versions of YOURLS, PHP, OS, Browser if**
**applicable, etc...**

Newest code used.

**Please provide any additional information below.**

it doesn't work since version 1.1

This is a COPY of Issue 8: it doesn't work since version 1.1, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**What steps will reproduce the problem?**
visiting short url , like yourls.com/123


**What is the expected output? What do you see instead?**
it should take me to google.com , but it prints : string(17)
"http://google.com"

**What version of the product are you using? On what operating system?**
1.1

**Please provide any additional information below.**
I think , the 23th line in "yourls-go.php" is wrong . 

Bookmarket Created

This is a COPY of Issue 17: Bookmarket Created, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

I noticed a bunch of people are looking for bookmarklets for YOURLS, so I
created a script to do just that. You can grab it @ http://jarb.ro/M and
it's also attached.

Installation instructions are included in the package.

yourls.org Javascript problem

This is a COPY of Issue 3: yourls.org Javascript problem, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**What steps will reproduce the problem?**
1. Go to http://yourls.org/ using Firefox 3.5.
2. Open another Firefox window (or the inbuilt download manager).
3. Click on one of the tabs.

**What is the expected output? What do you see instead?**
The tab will be selected, however the other Firefox window will get
focussed. Even if you minimize it, it will come back when you click on
another tab.

**What version of the product are you using? On what operating system?**
Firefox 3.5, Windows Vista

**Please provide any additional information below.**
Seems like "blur(this);" inside the toggle() function is the problem here.
Replacing it with "el.blur();" works fine for me.

Bookmarklet

This is a COPY of Issue 14: Bookmarklet, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

Is there a way to set up a bookmarklet to shorten URLs from any page on the
web?

use default prefix for database tables

This is a COPY of Issue 34: use default prefix for database tables, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

Some providers offer only one database for each domain (package). This is
usually not a problem, since you can run many web applications on this one
database. Whoever it is good practice to have different prefixes for the
database tables of the different applications to
a) avoid potential collisions of table names
b) see all the tables belonging to one application next to each other.

So I am suggesting to change the default names of the two tables used by
yourls from 'url' and 'nextdec' to 'yl_url' and 'yl_nextdec'. Advanced
users can still change this.

AJAX problem in /admin/index.php (issue #20)

This is a COPY of Issue 23: AJAX problem in /admin/index.php (issue #20), filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

From the /admin/ page when you enter the long url and click 'shorten url',
the table does not refresh via Ajax and #add-button
stays in its loading state.

When I run FireBug on insert.js, the callback function in the $.getJSON
call in add() function is returning an undefined for data. I ran the
problem back to an undefined function (array_to_json) in
functions-json.php. Lines 34 and 53 should be:

$value = yourls_array_to_json( $value );

Looks a typo when the function was ported over.

Now the JSON data comes back properly and well formed. However, it's not
prepending the html inside the tbody tag. Maybe the backslashes in the
escaped json string are honking up the html. Odd.

yourls 1.2, php 4.4.9, mysql 4.1.22, ff 3.5.2 

double http:// stripping not smart enough

This is a COPY of Issue 18: double http:// stripping not smart enough, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

if you enter a url with contains “http://” twice, YOURLS don’t save the
first “http://”. try it yourself with
“http://ad.zanox.com/ppc/?12545695C1170483212T&amp;ULP=[[http://www.fotokasten.de/index.php?ftkPage=categories&amp;category=55&amp;source=de_zanox]]&amp;SIDE=[[sem-fototasse]]”.

62 encoding doesn't work

This is a COPY of Issue 1: 62 encoding doesn't work, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**What steps will reproduce the problem?**
1. Copy the sample config
2. Set the settings to your site, and base 62 encoding
3. Try to make a custom URL with capitalizaion

**What is the expected output? What do you see instead?**
I did /ME, and when it generated it went to /m.  I then tried to manually
edit the link and it really didn't work

**What version of the product are you using? On what operating system?**
1.0 on Ubuntu Server 8.04 LTS.  

**Please provide any additional information below.**
http://yaurl.in/test.php for PHP Information (BCMath is enabled)

Enhancement for Plugin | Tick box before publishing

This is a COPY of Issue 36: Enhancement for Plugin | Tick box before publishing, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

Ability to enter tick box on post before publishing. Tick box would allow
override of options selected in the plugin configuration page. For example,
some times I wish to publish a blog post, but I might not want to Tweet it
automatically. 

Thank you

Quick Share Links on a Public root domain (not /admin)

This is a COPY of Issue 33: Quick Share Links on a Public root domain (not /admin), filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

When utilizing a frontend at the root of your domain for shortening URLs
(not site.com/admin/, simply site.com/), it would be nice to offer the
quicklinks for firing shorturls out to Twitter, FB and FF in a similar
manner to when you create a link via the admin page.

Either instructions on how to do this, or adding to public-sample.php would
be fantastic.

Tracking referrals

This is a COPY of Issue 26: Tracking referrals, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

Not an issues. More of a request. I would like to see tracking of the 
referral pages.

Quick link creation via 'pressthis' like function

This is a COPY of Issue 47: Quick link creation via 'pressthis' like function, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

Is there currently a way to make a quick link using something like the
'press this' function in wordpress?  If not, would it be possible in the
future? ;)

thanks a ton, I'm using yourls on www.pleaselink.me and I've enjoyed it
thus far.

A joomla plugin or some way to creat a form on joomla

This is a COPY of Issue 22: A joomla plugin or some way to creat a form on joomla, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

I would like to see a joomla module or plugin for this. Is there a way to 
create a form with in a joomla install which is a sub directory and have it 
be processed through yourls in a second subdirectory using absolute paths?

Clicking Shorten the URL results in no action

This is a COPY of Issue 37: Clicking Shorten the URL results in no action, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**Please be as accurate as possible. Using understandable English also**
**helps:)**

**What steps will reproduce the problem?**
1. Paste in URL to shorten.
2. Click the "Shorten The URL" button. 

**What is the expected output? What do you see instead?**

I would expect to see the page reload or the table containing the list of
URLs to update and show the new addition. Instead the button changes to a
"working" icon, however the page never reloads or changes. If the page is
refreshed the shortened URL is shown, however clicking on the short URL
results in a 404 error. 

**Please write in your current versions of YOURLS, PHP, OS, Browser if**
**applicable, etc...**

YOURLS: v1.2.1
PHP: v4.1
Browser: Firefox v3.5.2, IE 7

**Please provide any additional information below.**

I have checked and rechecked my config file to ensure I have the database
settings correct, and I can see through myPHPAdmin that the tables have
been created, but they contain no data. Nothing is being written to the
tables. I'm about as far from an expert with this stuff as you can get, so
any help or suggestions are appreciated. 

html entities in URL

This is a COPY of Issue 28: html entities in URL, filed on Google Code before the project was moved on Github.

  • Submitted on 2009-08-24T14:28:07.000Z by ChrisKubica
  • Status: Fixed

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

Hi there,

YOURLS issue:

When I'm shortening long urls with ampersands in them, like:

http://www.amazon.com/s/ref=nb_ss?url=search-alias%3Ddigital-
text&amp;field-keywords=filemaker&amp;x=0&amp;y=0

yourls seems to store the long URL ok, but when you click the 
shortened URL:

http://fmp.fm/1h

you get:

http://www.amazon.com/s/ref=nb_ss?url=search-alias%3Ddigital-
text&amp;amp;field-keywords=filemaker&amp;amp;x=0&amp;amp;y=0

It seems to be messing with the ampersands. This is on Safari (latest 
rev) on Intel mac.

latest yourls code, mac or pc browsers.


**Please provide any additional information below.**

Using in a sub-directory of a WordPress MU (sub-domain) install

This is a COPY of Issue 49: Using in a sub-directory of a WordPress MU (sub-domain) install, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

I'm testing the latest version 1.3.1-RC with WordPress MU.  My WP install is configured with 
blogs as sub-domains, and I installed Yourls in a /s/ sub-directory on the main domain 
(http://domain.com/s/).

The URLs appear to be created fine in the Yourls admin, as well as after publishing a post in WP 
using your complementary plugin.  The issue comes when visiting the yourl -- they redirect back 
to the main domain automatically.  

So instead of http://domain.com/123 directing to http://digg.com like it should, it just goes to 
http://domain.com.

The easy solution is definitely installing Yourls on a different domain, but I figured some people 
might like the link juice on the main domain, and there might be someone else out there 
needing to use it with a WP MU install.

Seems the solution might come via .htaccess, but I'd love to hear what you guys think.

Cheers.

404 error when using short urls

This is a COPY of Issue 44: 404 error when using short urls, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**- Please be as accurate as possible**
**- Using understandable English helps**
**- No answer or support if setup is older than latest release**

**What steps will reproduce the problem?**
1.Creating and trying to use a short url

**What is the expected output? What do you see instead?**
output should redirect to the correct url but it is returning 404.  The
clicks count in the database is not updating either, so it appears I am not
redirecting to the yourls-go.php script.

**Please write in your current versions of YOURLS, PHP, OS, Browser if**
**applicable, etc...**

I am using yourls 1.3 RC1, along with the ubuntu 9.04 server with the
latest updates.  

**Please provide any additional information below.**

I have edited line 6 of the .htaccess file to include the / before the
yourls-go.php.  I have also verified that mod-rewrite is running in
apache2.  I am still getting the 404 errors.

Again issues with link filtering

This is a COPY of Issue 43: Again issues with link filtering, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

I have an addition to html entity (and other) filtering as stated in issue #28:

Imagine an url like this:
http://webchat.quakenet.org/?nick=testing%60123

The unicode encoding of the ` character is completely stripped. Therefore,
this url is stored as http://webchat.quakenet.org/?nick=testing123

It would be nice to have that fixed.

Receiving string output without redirection

This is a COPY of Issue 7: Receiving string output without redirection, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**What steps will reproduce the problem?**
1. Logged into admin on elp.cc
2. Created several test URL's
3. Enter test URL's in Firefox 3.0.11, IE8, Safari.

**What is the expected output? What do you see instead?**
Expected to be redirected to longurl ;)

Instead, elp.cc loads with string(20) "http://lynnepope.net" where elp.cc/1
and string(21) "http://lynnepope.net/" where elp.cc/me

It's giving a 200 header response but no redirect is taking place.

**What version of the product are you using? On what operating system?**
Version 1.1
Apache version  2.0.63

PHP version 5.2.8 (safe mode not on)

MySQL version   4.1.22-standard
(Running database with default charset 'utf8' default collate
'utf8_general_ci')

Operating system Linux (CENTOS 4.7)

**Please provide any additional information below.**
I tested perms on .htaccess by adding other directives that require
mod_rewrite - they all worked.

Feature Request: Public API without setting admin part to public

This is a COPY of Issue 30: Feature Request: Public API without setting admin part to public, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

I would like to open the API to the public without having to set my admin to 
public.

Problem after updating to YOURLS 1.1

This is a COPY of Issue 9: Problem after updating to YOURLS 1.1, filed on Google Code before the project was moved on Github.

  • Submitted on 2009-07-13T18:00:34.000Z by florianfietz
  • Status: Fixed

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**What steps will reproduce the problem?**
1. Updating YOURLS 1.01 to YOURLS 1.1
2. Visiting a short URL

**What is the expected output? What do you see instead?**

After updating my system I only get: 
string(42) "http://www.jedeviensdjen3jours.com/dachip/" 
after clicking on a shortURL.

The numbers are variable and it shows the original long URL. 

string(**) "***"



**What version of the product are you using? On what operating system?**
Debian, PHP 5.20

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.