• kungen@feddit.nu
    link
    fedilink
    arrow-up
    26
    arrow-down
    6
    ·
    5 days ago

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

    • LwL@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      3 days ago

      Youtube has the video ID as a query parameter, to use the most obvious example…

    • lime!@feddit.nu
      link
      fedilink
      English
      arrow-up
      22
      arrow-down
      1
      ·
      5 days ago

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

      • criss_cross@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        4 days ago

        It’s really weird how SEO snake oil salesmen have broken the web.

        The “no query parameter” rule is such a dogma to the cult that your normal tooling for pages has to go through some weird ass hoops so that it can show up instead as a slug in the URL.

        I hate SEO and SEO peddlers

      • NιƙƙιDιɱҽʂ@lemmy.world
        link
        fedilink
        arrow-up
        6
        arrow-down
        1
        ·
        edit-2
        5 days ago

        I wouldn’t call it integral, pagination query parameters can be in the url params just as easily as in the querystring

        • keegomatic@lemmy.world
          link
          fedilink
          arrow-up
          14
          ·
          5 days 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
          3
          ·
          5 days 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.

      • webhead@lemmy.world
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        4 days ago

        Most systems these days do rewrites (like Apache mod_rewrite) to keep the query parameters out of the URL. Even for pagination. It’s not necessarily on by default though because they don’t know what environment you’re in so you need to do things to enable it (like copy a .htaccess file and enable it in settings).