I need a script to put in a directory that will grab the id so i can redirect it to a link and implement the id. example http://www.domain.com/shop/1 http://www.domain.com/shop/1/ will redirect to http://www.myredirecturllink.com?=1 It should be two files im assuming. $5.00 via paypal Looking to get this done within the hour.
You would want something like this: RewriteEngine On RewriteBase / RewriteRule ^shop/([0-9]+)/?$ /index.php?shopid=$2 [NC,L] If anyone is interested, I'll even explain what that regular expression does. Enjoy...