Seen that happen when the Blog and WordPress URLS in Settings->General are not correct.
If necessary consider using phpMyAdmin to make sure your
wp_options table has the correct values in
siteurl is your WordPress address (URL) and
home is your Blog Address (URL).
Update your permalinks.
And, some other info: