htaccess rewrite url to replace get variable names

So, I am guessing that this question is asked pretty regularly, but I haven’t been able to find any answers which will help me out. What I am wanting to do, is to replace the address:

www.site.com/workspace?wid=11

With the address:

wwww.site.com/workspace/11

How would I go about rewriting the URL like this?


Source: .htaccess

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.