WordPress.org

Forums

Short URL
[resolved] Global Short URL for the whole network (5 posts)

  1. mielech
    Member
    Posted 10 months ago #

    Hi Sed Lex!

    I've just started using your plugin in my multisite installation.

    At the moment, every blog can activate the plugin to get the following output:

    domain.com/blog1/qwert for blog1
    domain.com/blog2/asdfg for blog2
    ...

    Would you consider an option to enable a global short url path for the entire network with an output like:

    domain.com/qwert (works like domain.com/blog1/qwert for blog1)
    domain.com/asdfg (works like domain.com/blog2/asdfg for blog2)
    ...

    I would like to get rid of the blog names from the short url path.

    Looking forward to your reply!

    Best,
    Mike

    https://wordpress.org/plugins/shorten-url/

  2. Sed Lex
    Member
    Plugin Author

    Posted 10 months ago #

    It is quite complex to implement but it is possible I believe

    But not now I am quite busy for now

  3. Sed Lex
    Member
    Plugin Author

    Posted 10 months ago #

    Actually, I checked if it was possible and it is not possible as two same shorturl exist on two different blog
    domain.com/blog1/qwert
    domain.com/blog2/qwert

    Thus, if you type domain.com/qwert there would be a conflict that is impossible to handle

  4. mielech
    Member
    Posted 10 months ago #

    Only if you keep them in separate tables.

    What if you store short urls in one table, under the network?

  5. Sed Lex
    Member
    Plugin Author

    Posted 10 months ago #

    Yes indeed but :
    This is not how the table should work for security reasons
    The whole plugin (export / import search) does not work like that and thus it should be deeply modified (75% of the plugins)

Reply

You must log in to post.

About this Plugin

About this Topic