I checked my httpd.conf
file and nothing found anything, let me know other areas whr i need to look.
Although my other links are working fine like --
Solved for me by this: first I understood other browsers in my system work fine with http://localhost then I cleared my main browser cache It worked
................ Of course Samlam 's replay is the answer satisfied the questioner But I answered this here because of question title. Most of guys have same problem as I do and they are referred to this page.
I had the same issue, remember to clear your browser cache after making changes.
Are you by any chance using chrome? Because chrome is not good about this kind of stuff sometimes, try different browsers, if that duos not help..
Then you MUST have a .htaccess
file somewhere in your www
directory.
try searching for it. It is an unusual file, it duos not have name just an extension.
try searching like %.htaccess
if that duos not help go to C:\Windows\System32\Drivers\etc
and open the file hosts
as a admin so you can edit it and look up if some program inserted something inside.
ALSO
Just remembered a situation i had earlier. Some .php files can have redirects in them. Check your index.php or main.php or index.phtml or some other extenson if they do a redirect, becouse it could be somone wrote a code to redirect the script.
see this example to understand it bether: WWW to non-WWW Redirect with PHP