Permalink opens attachment instead of page

Attachments are stored with their filename (minus extension) as the post name. So if you uploaded an attachment that’s called map.xyz, it would have the same name as your page.

So first, check your Media Library if you have a ‘map’ attachment.
Secondly, check if your ‘map’ page still exists and still has the same slug.

When wordpress tries to resolve your request, it can’t figure if your are referring to a post(/attachment) or a page.

I would imagine that wordpress also does some slug mingling in the process of importing an export to avoid duplication of post names. It may have imported the attachment first and the page after and mingled your page name into something else.

Try using /posts/%postname%/ for your permalinks, this will distinguish them from pages.

Also read: http://codex.wordpress.org/Using_Permalinks#Structure_Tags

error code: 523