Support » Plugin: WP Cloudflare GeoIP Redirect » redirect URL

  • Resolved delighter

    (@delighter)


    Hi! Could you please help me to make a universal redirect URL, I mean something like Regex…

    For example, if the redirect URL is “*/redirect_page”, so should be opened “site.com/redirect_page” and if I’m opening “site.com/trololo” it’s redirecting to “site.com/trololo/redirect_page”

    Very hope you understood my line of thinking 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author webinvaders

    (@webinvaders)

    Hi,
    you are suggesting page specific redirects?

    I did think about that use case, but haven’t had a time to develop the concept when making this plugin for a specific project (and then made it publicly available).

    It would not be that hard to add this logic to the plugin but I’m more concern about UI/UX implementation (I haven’t work with “cmb2” that much).

    How soon do you need this?

    Thread Starter delighter

    (@delighter)

    Thank you for the answer!

    But I mean a little different thing, I need every page redirect depend on a country by adding ”?translate-to=…” at the END of every URL.

    So, for example, if country Ukraine, then =>
    site.com => site.com/?translate-to=ua

    BUT next to this, if url is
    site.com/ABC => site.com/ABC/?translate-to=ua
    or
    site.com/ABC/BLABLABLA => site.com/ABC/BLABLABLA/?translate-to=ua

    Maybe, it could be a checkbox in the plugin admin area, like “redirect to a specific page on the same site” with a field where it’s possible to add regex rule, something like “**/?translate-to=ua”

    As mentioned above, I am using a lightweight wp translator, and not in my case, but also “regex rule” could be helpful for heavy wpml users, like “/ua/**”

    Very hope it’s possible to make it, it’s quite urgent for me, I would be very appreciative for this help and hope this could be useful for many people. Your plugin is very lightweight and the only one with Cloudflare compatibility.

    Thread Starter delighter

    (@delighter)

    Hi, I would be very appreciative for getting your comment.

    Thread Starter delighter

    (@delighter)

    Very appreciated to the developer for his plugin and support!
    Check the updated version, it’s perfect!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘redirect URL’ is closed to new replies.