...

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



UrbanTwitch
09-07-2008, 09: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.

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

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum