I understood and totally agree with your point. But the issue is My application is built in a different way as in it supports basic authentication mechanism which is managed at server's end. So whatever the URL we give in address bar, it redirects to that page only after logging in. The login source code is not in scope of my tool. Its is simply managed by .htaccess
I have tried writing certain RewriteRule but i could not able to implement.
Also, tried <meta http-eqqiv=refresh content=X url=xxx> This works but with drawbacks as it refreshes again and again. Not able to find any other way till now!