Why Your URLs and File Names Actually Affect SEO
It's easy to treat a URL as plumbing — something that just needs to work, not something worth thinking about. But both URLs and file names are text that search engines read as a signal about what a page or image contains, on top of their obvious job of being a working link.
What search engines read into a URL
A URL like example.com/blog/post-847 tells a search engine nothing about the content behind it. A URL like example.com/blog/position-size-calculator-guide gives it a real signal before it even crawls the page, and it gives a human scanning search results or a shared link the same context. Google has confirmed hyphens are treated as word separators in URLs, while underscores generally are not — which is the entire reason hyphenated slugs became the standard convention.
File names carry the same signal for images
A photo saved as IMG_4821.jpg tells a search engine nothing. The same photo saved as orange-tabby-cat-sleeping.jpg gives context that, combined with descriptive alt text, helps that image surface in image search — a channel that's easy to ignore but drives real traffic for visually-oriented content.
Where this matters most
The effect is small on a per-page or per-image basis, but it compounds across a site with many pages and many images, and it costs nothing to do correctly from the start. Retrofitting URLs after a site has been live for a while creates its own problem — changing a URL breaks existing links and requires a redirect to avoid losing the SEO value already built up, so it's far cheaper to get the naming right before publishing than to fix it after.