A well-optimized URL structure is valuable for both user experience (UX) and search engine optimization (SEO). But knowing when to optimize your URLs is just as important as knowing how. But before we talk about when and how, we have to address the why. The goal of optimizing URLs is, of course, SEO performance improvement. But everything the search engines know about a page, its place in the site, and its value to people is tied to a URL.