Results 1 to 4 of 4
Aug 27, 2012, 12:45 #1
- Join Date
- Jun 2010
- 0 Post(s)
- 0 Thread(s)
How do I redirect a link without .html
Sorry if this isn't the correct forum. Please tell me where I should ask this. I'm not even sure if I'm phrasing the question correctly!
In a text document, I want to write "Go to example.com/foo" and when they type "example.com/foo" in to the address bar, I want them to go to "http://www.example.com/bar/foo.html".
I can't figure out how to do that. In.htaccess, I've tried this, but it doesn't work (goes to file not found page):
Redirect 301 http://www.example.com/foo http://www.example.com/bar/foo.html
Anyone have any ideas? Thanks in advance!