| redirect from domain.com/sub/(anyname) [message #1698] |
Wed, 17 February 2010 21:00 |
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]
|
|
|