Support » Plugin: Redirection » Possible Improvements

  • Resolved Eusebiu Oprinoiu

    (@eusebiuoprinoiu)


    Hello, John!

    Redirection is one of my favorite plugins but there are a few things that I would like to see implemented in a future version of it:
    If you have the time and find my suggestions useful, here are some possible improvements:

    1. Display both Title and Source URL in the list of redirections. Right now, when we set a value in the Title field, it replaces the Source URL.
    2. Do not allow users to add multiple redirections with the same Source URL.
    3. Sort groups alphabetically, both in the Filter dropdown and on the Groups tab. Right now they are ordered by date, in the order they were created.
    4. The search should take into consideration the Source URL, the Destination URL, and the Title. Right now, only the source URL is used.
    5. When the Position value of a link is changed, the Position values for all the other links should be shifted (+/-1), so we don’t have multiple links with the same value. (or empty gaps between links)
    6. Add a one-click Copy button for the source URL in the list of redirections.
    7. Add a shortcode that would allow us to display the “Add new redirection” form on the frontend, on a page of our choosing.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Godley

    (@johnny5)

    A lot of these display features are actually going to be part of the next version.

    Detecting duplicate redirects is kind of tricky as a regular expression can match many things.

    It doesn’t matter much if you have redirects with the same position value, or have gaps. This will be looked at in a future version, but for now it’s not that important to worry about.

    What do you mean by allowing the redirect form on the front end? What would this be used for?

    Hello, John!

    That’s really nice to hear.

    Regular expressions are indeed problematic when checking for duplicates and redirections containing them should probably be skipped in the checks. But for all normal redirections, I believe this should be implemented. And those checks should somehow take into consideration both the “case insensitive matches” and “ignore trailing slashes” options)
    It would also be nice to have an option to enable or disable this feature.

    As for automatic position values, I thought it would be a nice thing to have, to keep things organized on installs with many redirections. (when we have only a few redirections, manually changing values it’s not a problem)
    If you have a Steam account, take a look at their Wishlist feature. I find the way they do the ordering to be perfect. (with position values updated automatically when the value of one entry changes)

    Regarding the shortcode, I thought of setting up a dedicated WP install to use as a personal URL shortener. In this case, it would be nice to be able to display the form on the frontend, on a login-protected page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Possible Improvements’ is closed to new replies.