YOURLS | 🔗 The de facto standard self hosted URL shortener in PHP
kandi X-RAY | YOURLS Summary
kandi X-RAY | YOURLS Summary
Your Own URL Shortener
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Checks if code point is in range
- Parse a string .
- Read an entry from a file
- Replace invalid characters in string .
- Define core constants
- Decompose a string .
- Utility function for Punycode
- Checks if PHP parse is safe .
- Convert a gzip compressed string into compatible format
- Initialize the Calendar
YOURLS Key Features
YOURLS Examples and Code Snippets
Community Discussions
Trending Discussions on YOURLS
QUESTION
I have found plenty of useful answers in this forum that got me to the point I'm at, however the configuration of my .htaccess redirect is still not 100% perfect.
Set-up
I have two domains registered:
domain1.is
(only domain)domain2.me
(domain + hosting)
The domain1 redirects as wildcard everything to domain2.
What I'm trying to do
I have installed yourls (url shortened) on domain2.me/yourls
and want to redirect all domain1.is/randomstring
to domain2.me/yourls/randomstring
.
ANSWER
Answered 2020-Sep-07 at 15:52I'll share my solution in case someone else stumbles upon this conversation. The details/history are in the comments of the question.
TLDR;Just set up a wildcard redirect to the subdirectory.
(not sure if the first redirect is useful, but still).
Important point: you don't even need to touch the .htaccess
file (in my particular case yourls already had one, so I left it as it is).
Credit: thanks @CBroe for pointing me in the right direction.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install YOURLS
Using Composer? You can simply composer create-project yourls/yourls . in an empty directory.
Read yourls.org for starters
There are important additional information on the Wiki documentation.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page