What Happens to the URL Fragment in a Single-Page App?
Learn why URL fragments are not sent to servers, how hash and path routing differ, and how to handle SPA deep links, refreshes, and accessible navigation.
Practical guides for cleaner URLs, smarter SEO, and a more thoughtful web. Find your next useful idea.
Explore the journal
46 articles
Learn why URL fragments are not sent to servers, how hash and path routing differ, and how to handle SPA deep links, refreshes, and accessible navigation.
Build shareable search and filter URLs with URLSearchParams, restore state on load, and choose pushState or replaceState without breaking browser navigation.
Learn how to URL encode spaces, Unicode, and reserved characters in file names, avoid double-encoding, and test download links across browsers and servers.
Use a practical release checklist to compare staging and production URLs, catch accidental staging links, and verify destinations without exposing private URLs.
Learn how to compare two URLs online, inspect host, path, query, and fragment differences, and manually verify changes that can affect behavior.
Learn when query parameter order affects APIs, repeated values, signed URLs, and cache keys, plus a safe way to test reordered requests with confidence.