After Migrating my magento to new server. My Homepage is working and my admin page is also working. But all frontend pages will give 404 error. Note from initial server index.php has been removed. For example instead of //mydomain.com/index.php/one-page.html, we uses mydomain.com/one-page.html.
In the new server mydomain.com/one-page.html. is not working (Error 404) until you put index.php to it before it gives content on the page
Please what is the way out ?