Code Monkey home page Code Monkey logo

yourls-geoshorturl's People

Contributors

tobozo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jinuljt dexzhou

yourls-geoshorturl's Issues

Country primary - continet secondary

Thinking like that it might be even more useful.

Have the country or when there is no country code alternate link it
could look for a continent code as a next step.

Thinking of adding this in a separate fork, didn't do this before here so hope I'm doing it right. :)

For example:
link for Romania redirects to:
link-ro if it exists and stops here.
if link-ro does not exist try to find
link-eu and redirect to that.

if nothing is found, go to link.

This should be possible hopefully, one extra step.

The Geo-Redirect does not work after installation

I have installed and activated the plugin as described. Additionally as already described the plugin "Allow Hyphens in Short URLs" and the plugin "Geo API plugin" from alexjakass.

For the GeoIP Redirect Redirection Rules:
Inherit Country code from YOURLS GeoIP plugin

Then with a URL deposited:

https://yourls.digitalfairydust.dev/bosch = https://www.bosch.de/

and for each language a language suffix

https://yourls.digitalfairydust.dev/bosch-en (https://www.bosch-home.nl/)
https://yourls.digitalfairydust.dev/bosch-nl (https://www.bosch-home.com/us/)
https://yourls.digitalfairydust.dev/bosch-de (https://www.bosch.de/unser-unternehmen/bosch-in-deutschland/#standorte)

Unfortunately, I always end up on the same default page: "https://www.bosch.de/".

I tested the whole thing using NordVPN and also by changing the language of the browser.

Can you support here or tell me if I'm doing something wrong?

can't create country URL using "-"

I am trying to create a country specific URL using the "-xx" in the short name but once I create it the yourls removes the "-" symbol.
example , create "http://mydomain.xx/site" for every one and than I want to create a dedicated separated site for France (example)
so i try to create "http://mydomain.xx/site-fr". YOURLS changes it automatically to "http://mydomain.xx/sitefr", removing the "-" and the geo targeting doesn't work.
any idea how to solve this problem

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.