Originally Posted by Seraskier
I've been looking around...didnt really learn much...
what if i wanted to change...
profile.php?id=2254679
into
profile/2254679
|
Okay, first step create a file called .htaccess. And then goto Open With > Dreamweaver or whatever editor you use. Than post the following code,
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^profile/(.*)(/)?$ profile.php?id=$1
Now I put the wildchar because I don't know whats the maximum number of integerers you can have or if you can have letters with it. You could of course control it using specific characters and what not.