Jump to content

I'm not sure how to do this particular mod_rewrite


somewon

Recommended Posts

So, I have a script that calls an image, like http://website.com/view.php?type=clowns&name=bozo&pic=1

 

I had figured this out (I'm sure it's probably clunky, but it works): RewriteRule ^image/([^/]*)/([^/]*)/([^/]*) view.php?type=$1&name=$2&pic=$3 [PT]

 

which works as http://website.com/image/clowns/bozo/1/

 

but I'd rather have it as

 

http://website.com/clowns/bozo/image/1/

 

How would I do something like this? Any help is verrrrry appreciated! :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.