To do this in Magento, you should edit the .htaccess file which is in the magento root folder. For SEO and usability purposes you may want to redirect your visitors to open your site only...
We use cookies to make your experience better. To comply with the new e-Privacy directive, we need to ask for your consent to set the cookies. Learn more.