Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2007
    Location
    Cape Cod
    Posts
    168

    Need a hand with mod_rewrite

    Alright, on my website I would like my users to be able to type in this: s.website.com/file where 'file' is just a six digit alphanumeric string and have it be treated as website.com/image?id=file

    Thank you

  2. #2
    Join Date
    Nov 2011
    Location
    Austin, TX
    Posts
    27
    Try this..

    ^([a-zA-Z0-9]+)$ image?id=$1

    -TechStubble

  3. #3
    Join Date
    Dec 2007
    Location
    Cape Cod
    Posts
    168
    Quote Originally Posted by techstubble View Post
    Try this..

    ^([a-zA-Z0-9]+)$ image?id=$1

    -TechStubble
    That worked perfectly, thanks.

Similar Threads

  1. lol: why man wear wrist watch in left hand?(women in right hand)
    By DewlanceHosting in forum Web Hosting Lounge
    Replies: 25
    Last Post: 04-12-2011, 10:04 AM
  2. Mod_rewrite help
    By marmoset01 in forum Programming Discussion
    Replies: 8
    Last Post: 05-02-2007, 02:23 PM
  3. Anyone use Hand in Hand Computing?
    By willthiswork23 in forum Web Hosting
    Replies: 4
    Last Post: 10-23-2004, 06:31 PM
  4. mod_rewrite
    By CreativeLogic in forum Programming Discussion
    Replies: 3
    Last Post: 04-21-2004, 07:09 AM
  5. Do CPanel and WHM go hand in hand?
    By singhk in forum Hosting Software and Control Panels
    Replies: 4
    Last Post: 12-22-2002, 11:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •