.htaccess ReWrite

Hello everyone,
I have the following old way of getting users to their sites

www.domain.com/?username

I want all request coming in to this old way to go to the new way

www.domain.com/profile/username

Domain name is the same.

Is there a way to do this within Rails Routes or does someone know how
to write this in .htaccess?

Thank you,

Sean McGilvray

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs