Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't "cooperate" with Allow Aliases plugin #2

Open
ToddE opened this issue Oct 27, 2021 · 0 comments
Open

Doesn't "cooperate" with Allow Aliases plugin #2

ToddE opened this issue Oct 27, 2021 · 0 comments

Comments

@ToddE
Copy link

ToddE commented Oct 27, 2021

This plugin doesn't "play nicely" with the Allow Alias Plugin.
Allow Aliases Plug (https://github.com/adigitalife/yourls-allow-aliases) allows for multiple domains to respond to same short code.

Example

  • webserver (nginx) supports responses to foo.com and bar.com
  • config.php supports multiple domains by setting YOURLS_SITE
    define( 'YOURLS_SITE', 'http://foo.com', 'http://bar.com');

Shortcode is setup
https://foo.com/short == https://yaddayadda.com/long-url
https://foo.com/iosshort == https://yaddayadda.com/ios_content
https://foo.com/androidosshort == https://yaddayadda.com/android_content

Expected Behavior
Both https://foo.com/androidosshort AND https://bar.com/androidosshort should resolve to https://yaddayadda.com/android_content

Observed Behavior

I'll take a look at both plugins to see if I can recommend any fixes (noting that I don't consider myself a dev)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants