• Resolved Vox Terman

    (@vox-terman)


    Hello!

    I trying to save link like this:

    /pages/video.php?video=123

    but I get the result:

    /pages/video.phpvideo123

Viewing 1 replies (of 1 total)
  • Plugin Author Maciej Bis

    (@mbis)

    Hi @vox-terman,

    Unfortunately, it is not possible to include the query parameters in the custom permalinks. The main reason of this are the performance issues and the way the custom permalinks are stored (single serialized array with static URIs):
    https://permalinkmanager.pro/docs/filters-hooks/how-the-custom-uris-and-redirects-are-stored/

    For instance, an URL with just three parameters:
    example-page/index.php?abc=123&foo=bar&lorem=ipsum

    would generate additional URL combinations:

    example-page/index.php?abc=123&foo=bar&lorem=ipsum
    example-page/index.php?abc=123&lorem=ipsum&foo=bar
    example-page/index.php?foo=bar&abc=123&lorem=ipsum
    example-page/index.php?foo=bar&lorem=ipsum&abc=123
    example-page/index.php?lorem=ipsum&abc=123&foo=bar
    example-page/index.php?lorem=ipsum&foo=bar&abc=123
    

    The algorithm responsible for detecting the custom permalinks will need to duplicate array search functions that could be memory consuming.

    Best regards,
    Maciej

Viewing 1 replies (of 1 total)
  • The topic ‘How add equal sign and question mark to url?’ is closed to new replies.