Support » Fixing WordPress » Redirecting from www.sitename.com to www.en.sitename.com
6 years, 7 months ago
I would like to redirect all visitors typing my site http://www.sitename.com to my other site http://www.en.sitename.com (where my wordpress blog is located). How can I do it from FTP? Please be specific.
I figured it out myself. The best way is to make a 301 Redirect by placing an .htaccess file in the www. directory (through FTP access) with the following script:
RedirectMatch 301 (.*) http://www.yournewdomain.com/
And it works.