Install self hosted url shortener like

I would like to install a custom url shortener something like
Is there an idiots guide?

OK. I installed YOURLS and it generally went oK

When I try and create a a shortened URL I get a CORS error
(Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 301.

I’ve tried the usual suggested fixes
I’ve also tried adding these to various files as suggested
Access-Control-Allow-Origin: *
add Access-Control-Allow-Origin “*” to .htaccess
add similar to index.php, admin-ajax.php and style.css

none fixed it for me ;(

Does anyone else have a suggestion before I

  1. Give up
  2. buy a ready hosted yourls server
  3. get someone on fiverrr to configure it for me?
1 Like

Simply you want a URL shortener functionality in your website where someone can shorten their URLs?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.