Skip to main content
Post Deleted by CommunityBot
Post Locked by CommunityBot
Post Migrated Away to webmasters.stackexchange.com by JonW
Post Closed as "Not suitable for this site" by JonW
Post Reopened by JonW
Post Closed as "Opinion-based" by locationunknown, user101673, Ken Mohnkern, JonW
Source Link

Should my users' profile page URL be /user/bob or just /bob?

Currently, the URL to a user's page is this:

website.com/user/bob

But I'm considering changing this to be:

website.com/bob

Without the /user/ part. It comes across as much cleaner and easier to access, as user pages are one of the most frequently-visited pages on my site.

I have, however, a few questions:

  1. Is this something I should do? Is it SEO friendly?
  2. Would this be done within my code (my routes file) or would it be done through .htaccess or some other method?

Thanks.