Posted:
Sat Sep 18, 2004 6:56 pm (19 years, 7 months ago)
ok, i'm new to the whole mod_rewrite bit.
and I had a look at the tutorial about it, but it wasn't as thourough as I was hoping it would be.
say I had a paramater with more than one function for example
?id=blah&y=yes&b=ok
how would I rewrite this into something simple like
/id/yes/ok ?
please help
fak3r Junior WebHelper
Joined: 18 Sep 2004
Posts: 2
Posted:
Sat Sep 18, 2004 7:19 pm (19 years, 7 months ago)
hmm nevermind messing around with it i found a way to do it
here is an example for others who may possibly have the same question
Code:
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^test/([^-]+)/([^-]+)/([^-]+) test.php?flash=$1&w=$2&h=$3
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.