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)
Comment on PSA on privuhcy
NotSteve_@piefed.ca 8 months 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
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)
Only on “I have really bad SEO” kinds of blogs. Query strings have been considered a negative thing for many many years.
Youtube has the video ID as a query parameter, to use the most obvious example…
whuh? querystrings are integral to things like pagination. they are by no means a negative thing.
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).
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
Pagination query parameters can just as easily be in url parameters as the querystring
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.
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.
Not everybody cares for SEO BS
funkless_eck@sh.itjust.works 8 months 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.
SomethingBurger@jlai.lu 8 months ago
There is.
?s=for a search, and you can combine it with other parameters such as date or taxonomy terms.funkless_eck@sh.itjust.works 8 months ago
ah, you are right. I take it back.