URLid
URLid is a term used in web development to denote a unique identifier embedded in a URL that references a specific resource in a system. It may appear as a path segment, such as /articles/12345, or as a query parameter, such as /products?id=12345. Formats include opaque numeric IDs, UUIDs, or slug strings that are more readable. URLids enable stateless resource addressing, improve bookmarkability, and support efficient caching by ensuring a direct route to a resource.
In practice, URLids are used across content management systems, e-commerce sites, and APIs to locate items such
Design considerations include choosing between path segments and query parameters, choosing ID format (incrementing, UUID, slug),
Security and robustness: validate and sanitize IDs, handle URL encoding, escape where necessary, and defend against
Related concepts include RESTful resource identifiers, slugs, and opaque identifiers. URLid practice aligns with RESTful design