Problem: .htaccess file is removed or changed.
Solution:
1. Access your root directory with any FTP software as i am using Aptana Studio 3.
2.Go to View Menu in side bar then open Customize View.
3.Customize View Panel will be open. Uncheck the *.files to show the Hidden files.
4. If .htaccess file is found go to step 6 else go to step 5.
5.Create a New file with the name of .htaccess.
6.Paste or Type the Following code(Shown in Picture) in the
.htaccess file.
7.Save the .htaccess file in your Root Directory.