By mistake i have installed a php script in my root directory, where wordpress is available. After that my all permalinks has been change. After modifying .htaccess file and modified file permission by ftp now my site is almost ok. Now i can't log-in admin panel, when i am giving admin user name and password then url redirect to wrong url (index.php has shown) and nothing found for index php login. How can i remove that extra index.php for log-in my wordpress admin control panel? So how wp-login.php has overwrite, any idea how to solve it. Experts please help me, Thanking in advance.