• NotSteve_@piefed.ca
    link
    fedilink
    English
    arrow-up
    78
    ·
    19 hours ago

    Everything after the ? can be safely removed

    This is usually true but but not always. There’s often times when a URL query like that is used to choose the page to load. I believe wordpress does this

    • kungen@feddit.nu
      link
      fedilink
      arrow-up
      22
      arrow-down
      5
      ·
      18 hours ago

      Only on “I have really bad SEO” kinds of blogs. Query strings have been considered a negative thing for many many years.

      • lime!@feddit.nu
        link
        fedilink
        English
        arrow-up
        16
        arrow-down
        1
        ·
        17 hours ago

        whuh? querystrings are integral to things like pagination. they are by no means a negative thing.

          • keegomatic@lemmy.world
            link
            fedilink
            arrow-up
            8
            ·
            15 hours ago

            Pagination query params can be in the URL params, but that’s not normal at all. They’re pretty much always use query params, and it’s very reasonable to do so. Filtering, search, and pagination all typically go in query params.

          • lime!@feddit.nu
            link
            fedilink
            English
            arrow-up
            2
            ·
            15 hours ago

            that’s very hard to make idiomatic, and if it’s in the querystring it’s easier to change manually because you can annotate each entry more easily.

    • funkless_eck@sh.itjust.works
      link
      fedilink
      arrow-up
      6
      ·
      17 hours ago

      WordPress uses a taxonomic system you choose with a mix of the Settings page and how you organize your template hierarchy. To my knowledge there is no out of the box query url functionality in the core system.

    • brown567@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      17 hours ago

      Sometimes I’ll post a picture straight from a duckduckgo search, and it doesn’t work without the stuff after the ?

      (I’m also not sure how long the url is valid for, so I try not to do this too often)