How do I make custom URLs?

I want each seller to have a page that shows all their current listings. I want them to have a custom URL i.e.: etsydemo.com/username How would I go about doing this? Thanks

Posted over 5 years ago by Markus Lopez
Posted over 5 years ago by Alex Yang

Markus, here are two helpful links you should check out:
1. StackOverflow link that explains one way to do it: http://stackoverflow.com/questions/16387058/rails-devise-user-profile-url-with-username-on
2. Rails Guides article on the many routing options: http://guides.rubyonrails.org/routing.html

If you implement this, make sure that you check that the usernames that people register with (and change to) are unique! Let me know if you have questions about this.

0
Posted over 5 years ago by Markus Lopez

thanks, i'll update you with my progress

0