Possible Duplicate:
How to redirect non-www to www URL’s using htaccess?
My htaccess file is doing nothing although I am adding folloeing code in it.(I think it is not enable)
My current website address is like that www.abc.com/mvc/view/index.php
And the new address is www.abc.com/index.php
My hosting provider is godaddy.com. and there is also PHP.ini file in the same directory I have placed htaccess file in the root directory seems like html/.httaccess.The complete htaccess file is like
Redirect /mvc/view/index.php http://abc.com
But its not working.I am confused about .htacces file placement and also the rewrite code line. Can you please help me out?