PageSourceSearch

https://yourls.org/assets/js/b40cd6a4.277871b0.js

js yourls.org collected 2026-10-02 02:36:14 UTC 5,098 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1319],{4961(e,n,s){s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>l,default:()=>u,frontMatter:()=>r,metadata:()=>t,toc:()=>c});const t=JSON.parse('{"id":"guide/troubleshooting/frequent-issues","title":"Frequent issues","description":"404 instead of redirection","source":"@site/docs/guide/troubleshooting/frequent-issues.md","sourceDirName":"guide/troubleshooting","slug":"/guide/troubleshooting/frequent-issues","permalink":"/docs/guide/troubleshooting/frequent-issues","draft":false,"unlisted":false,"editUrl":"https://github.com/YOURLS/website/edit/main/docs/guide/troubleshooting/frequent-issues.md","tags":[],"version":"current","frontMatter":{},"sidebar":"docs","previous":{"title":"First steps","permalink":"/docs/guide/troubleshooting/first-steps"},"next":{"title":"Abuse","permalink":"/docs/guide/troubleshooting/abuse"}}');var i=s(4848),o=s(8453);const r={},l="Frequent issues",d={},c=[{value:"404 instead of redirection",id:"404-instead-of-redirection",level:2},{value:"Endless spinning icon",id:"endless-spinning-icon",level:2},{value:"Symptoms",id:"symptoms",level:3},{value:"Problem",id:"problem",level:3},{value:"Cure",id:"cure",level:3},{value:"Share icon and share links not showing",id:"share-icon-and-share-links-not-showing",level:2}];function h(e){const n={a:"a",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",header:"header",img:"img",li:"li",p:"p",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"frequent-issues",children:"Frequent issues"})}),"\n",(0,i.jsx)(n.h2,{id:"404-instead-of-redirection",children:"404 instead of redirection"}),"\n",(0,i.jsxs)(n.p,{children:['If you experience "',(0,i.jsx)(n.em,{children:"404 not found"}),'" instead of a redirection when you follow a short URL, ',(0,i.jsx)(n.strong,{children:"this is not a bug"}),".\nIt's a configuration problem on your end."]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Make sure your server configuration is correct. ",(0,i.jsx)(n.a,{href:"/docs/guide/server-configuration",children:"Check out the documentation"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:["Check ",(0,i.jsx)(n.strong,{children:"server logs"}),". See ",(0,i.jsx)(n.a,{href:"/docs/guide/troubleshooting/first-steps",children:"troubleshooting first steps"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:["Check ",(0,i.jsx)(n.strong,{children:"all previously opened issues"}),", open and closed."]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"endless-spinning-icon",children:"Endless spinning icon"}),"\n",(0,i.jsx)(n.p,{children:"Cannot add or edit links?"}),"\n",(0,i.jsx)(n.h3,{id:"symptoms",children:"Symptoms"}),"\n",(0,i.jsxs)(n.p,{children:["You've installed YOURLS, everything went fine and looks functional. However, when you try to shorten a new link, or edit an existing one, the button get a little spinning icon forever ",(0,i.jsx)(n.img,{src:"https://raw.github.com/YOURLS/YOURLS/master/images/loading.gif",alt:"loading icon"})," and nothing actually happens."]}),"\n",(0,i.jsx)(n.h3,{id:"problem",children:"Problem"}),"\n",(0,i.jsxs)(n.p,{children:["The Ajax script loads a URL like: ",(0,i.jsx)(n.code,{children:"https://sho.rt/admin/index_ajax.php?mode=add&url=https://longurl.com/&keyword=123"})]}),"\n",(0,i.jsx)(n.p,{children:"If that URL returns anything but a well formed result, then the Ajax script dies."}),"\n",(0,i.jsx)(n.h3,{id:"cure",children:"Cure"}),"\n",(0,i.jsxs)(n.p,{children:["Most of the time, the problem is a ",(0,i.jsx)(n.strong,{children:"server configuration"})," issue."]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Check your ",(0,i.jsx)(n.code,{children:"config.php"})," and your ",(0,i.jsx)(n.code,{children:".htaccess"}),"."]}),"\n",(0,i.jsx)(n.li,{children:"Check server logs"}),"\n",(0,i.jsx)(n.li,{children:"Manually check what kind of result the Ajax URL returns (type the full URL in your browser, or use your web browser developer tools)"}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["Most of the time, you ",(0,i.jsx)(n.strong,{children:"should not"})," open an issue about it. Search in closed issues."]}),"\n",(0,i.jsx)(n.h2,{id:"share-icon-and-share-links-not-showing",children:"Share icon and share links not showing"}),"\n",(0,i.jsx)(n.p,{children:"On the admin page you will see action buttons next to each short URL, to delete, share, edit them or see their stats.\nIf the Share button isn't visible and you cannot get the Share Box to be displayed, make sure to turn your ad blocker off."})]})}function u(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453(e,n,s){s.d(n,{R:()=>r,x:()=>l});var t=s(6540);const i={},o=t.createContext(i);function r(e){const n=t.useContext(o);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.