Hello, i found the solution. Its because domain names were diferent in wordpress dashboard. I made them exactly the same then the problem was solved.
Thank you for answer but i have no any problem with pages. They all work as listed.
My problem is, as i said earlier: Sitemap gets created but i can not view the sitemap.xml. When i click created sitemap link in the MPG settings menu i see a 404 page.
Thanks