Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 281597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:13:00+00:00 2026-05-12T05:13:00+00:00

I like Stack Overflow’s URLs – specifically the forms: /questions/{Id}/{Title} /users/{Id}/{Name} It’s great because

  • 0

I like Stack Overflow’s URLs – specifically the forms:

  • /questions/{Id}/{Title}
  • /users/{Id}/{Name}

It’s great because as the title of the question changes, the search engines will key in to the new URL but all the old URLs will still work.

Jeff mentioned in one of the podcasts – at the time the Flair feature was being announced – that he regretted some design decisions he had made when it came to these forms. Specifically, he was troubled by his pseudo-verbs, as in:

  1. /users/edit/{Id}
  2. /posts/{Id}/edit

It was a bit unclear which of these verb forms he ended up preferring.

Which pattern do you prefer (1 or 2) and why?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T05:13:00+00:00Added an answer on May 12, 2026 at 5:13 am

    I prefer pattern 2 for the simple reason is that the URL reads better. Compare:

    1. “I want to access the USERS EDIT resource, for this ID” versus
    2. “I want to access the POSTS resource, with this ID and EDIT it”

    If you forget the last part of each URL, then in the second URL you have a nice recovery plan.

    1. Hi, get /users/edit… what? what do you want to edit? Error!
    2. Hi, get /posts/id… oh you want the post with this ID hmm? Cool.

    My 2 pennies!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I want my app to generate routes like stack overflow questions/:id/:title How can
I like the Stack Overflow comment UI a great deal and I'm looking into
I read on another Stack Overflow question that Python was just like Ruby, as
I want to start learning Forth (like in the related Stack Overflow question Is
Stack Overflow offers related questions (on the right side of this question). I have
I know there's another question like this on stack overflow, but my problem is
I'm trying to get search results just like the stack overflow Related questions, when
To identify things like: [stack][overflow] or [is great!] I do: /\[([^\]]+)\](\[([^\]]+)\])?/.match(s) Now I want
I have a users table which I want to display like the Stack Overflow
I took a look at some questions here at stack overflow like this &

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.