{"id":13524595,"url":"https://github.com/jessemaps/yourls-query-string-keeper","last_synced_at":"2025-04-01T03:32:13.523Z","repository":{"id":78592352,"uuid":"73120225","full_name":"jessemaps/yourls-query-string-keeper","owner":"jessemaps","description":"Query String Keeper plugin for YOURLS","archived":false,"fork":false,"pushed_at":"2016-11-08T19:57:41.000Z","size":2,"stargazers_count":9,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-02T09:31:41.165Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jessemaps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-11-07T20:56:28.000Z","updated_at":"2023-05-17T10:22:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"48ced1c0-de04-45f2-bfa4-8cc43c7c4721","html_url":"https://github.com/jessemaps/yourls-query-string-keeper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessemaps%2Fyourls-query-string-keeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessemaps%2Fyourls-query-string-keeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessemaps%2Fyourls-query-string-keeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessemaps%2Fyourls-query-string-keeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jessemaps","download_url":"https://codeload.github.com/jessemaps/yourls-query-string-keeper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246578409,"owners_count":20799813,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T06:01:11.547Z","updated_at":"2025-04-01T03:32:13.245Z","avatar_url":"https://github.com/jessemaps.png","language":"PHP","readme":"# Query String Keeper\nQuery String Keeper plugin for [YOURLS](http://yourls.org) - tested on version 1.7.\n\n\nDescription\n-----------\nQuery String Keeper retains the query string added to the short url and adds it to the long url. If the long URL already includes a query string, it appends it following an ampersand (\u0026) and if not, appends it to the long url following a question mark (?).  \n\nExamples\n--------\nExamples 1 \u0026 2 use the following short \u0026 long URLs configured in YOURLS:  \nShort url = `http://sho.rt/keyword`  \nLong url  = `http://www.longurl.com`  \n\n_Example 1_  \n`http://sho.rt/keyword?foo=bar`  \n...becomes...  \n`http://www.longurl.com/?foo=bar`  \n\n_Example 2_  \n`http://sho.rt/keyword?123`  \n...becomes...  \n`http://www.longurl.com/?123`  \n\nExample 3 uses the following short \u0026 long URLs configured in YOURLS:  \nShort url = `http://sho.rt/keyword`  \nLong url  = `http://www.longurl.com?foo=bar`  \n_Example 3_  \n`http://sho.rt/keyword?zoo=car`  \n...becomes...  \n`http://www.longurl.com/?foo=bar\u0026zoo=car`  \n\nInstallation\n------------\n1. Move query-string-keeper directory to the `/user/plugins` directory of the YOURLS installation.  \n2. Go to the Plugins administration page ( *eg* `http://sho.rt/admin/plugins.php` ) and activate the `Query String Keeper` plugin.  \n\nOther/References\n----------------\nThis plugin adapted from the Query String Forward plugin by [llonchj](https://github.com/llonchj/yourls_plugins) which doesn't handle passing a single number as in `sho.rt/foo?123`.  \nThe Append Query String plugin by [drockney](https://github.com/drockney/append-qs) works for those that want the query string to just be appended without the ? or \u0026 symbols.  \n","funding_links":[],"categories":["Plugins"],"sub_categories":["Q"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjessemaps%2Fyourls-query-string-keeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjessemaps%2Fyourls-query-string-keeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjessemaps%2Fyourls-query-string-keeper/lists"}