Check to see if:
System > Configuration > General > Web > URL options > Add store code to URL
is set to yes. If it is, try changing it to No, clear cache, and see if that helps.
Or check this SE post about another possible culprit:
http://stackoverflow.com/questions/25361159/index-php-coming-two-times-in-magento-url