Home » Htaccess Tools » Htaccess Questions  » redirect from domain.com/sub/(anyname) (I want to make a generic Unique URL for each person.)
redirect from domain.com/sub/(anyname) [message #1698] Wed, 17 February 2010 21:00
ryan_82_bentley  is currently offline ryan_82_bentley
Messages: 1
Registered: February 2010
I am working on a project were I am going make and send over 1000 postcards for a business and would like to post a form online for them to fill out. Everyone will go to the same index.html in a subdirectory but we want to make them fill special by typing in

www.mydomain.com/sub/JohnSmith(any name)

my htaccess would redirect that or whatever they type into that "JohnSmith" area to www.mydomain.com/sub/index.html

I AM VERY NEW AT HTACCESS!

Here is what I have came up with so far, which by the way does not work what so ever ( I get a 500 error.)

Redirect ^([A-Za-z]+)$ http://domain.com/sub/index.shtml [NC,L]

Thanks

[Updated on: Wed, 17 February 2010 21:24]

Previous Topic:htaccess config to require authentication for all except for these URLs?
Next Topic:.htaccess file for an escorts directory
Goto Forum:
  


Current Time: Sat Jul 31 06:45:48 CEST 2010

Powered by: FUDforum 3.0.0.
Copyright ©2001-2009 FUDforum Bulletin Board Software