View Full Version : Making getmodel.php?id=Dan into Dan

09-07-2008, 08:40 PM
Ok so I want the following link: http://sodadome.com/sodazoo/getmodel.php?id=Tidy

I want it users to type http://sodadome.com/sodazoo/tidy to get to the following link I listed above.

I know its possible using .htaccess and mod_rewrite but I have no luck. This is what I tried and it failed:

RewriteEngine On
RewriteRule /sodazoo/(.*)$ /sodazoo/getmodel.php?id=$1

Yes the folder /sodazoo/ is created.

09-08-2008, 07:55 AM
RewriteEngine On
RewriteRule ^sodazoo/(.*)$ /sodazoo/getmodel.php?id=$1 [L]

09-08-2008, 07:18 PM
Thanks! :-)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum