DNS change of website from sub domain to main domain
I'm about to move a magento shop from a subdomain: "shop.domain.com" to" domain.com".
What should I do in relation to SEO? is a 301 redirect enough for the whole site? I do not want any broken links from Google after moving.