If it only happens on your localhost, then I'd have to look at your localhost to diagnose the issue. It could have something to do with your .htaccess files. I really wouldn't be able to debug this one without access to the server for testing. If you call me I can do screen sharing with you to help you debug it.