Use htaccess file to change url variables
Posted: Tue Aug 30, 2011 8:38 am
Hello all.
I am trying to get to grips with htaccess files and being able to change how it reads variables.
Currently i have to use www.mydomain.com/Users/id=8 where 8 can be any number from 1-1000.
but what i want is the URL to look like www.mydomain.com/Users/8 so people can view their own profiles or others without having to remember the id bit
Thanks in advance
David
I am trying to get to grips with htaccess files and being able to change how it reads variables.
Currently i have to use www.mydomain.com/Users/id=8 where 8 can be any number from 1-1000.
but what i want is the URL to look like www.mydomain.com/Users/8 so people can view their own profiles or others without having to remember the id bit
Thanks in advance
David