WordPress.org

Ready to get started?Download WordPress

Forums

Redirecting from www.sitename.com to www.en.sitename.com (2 posts)

  1. lofenix
    Member
    Posted 3 years ago #

    Hello,

    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.

    Thank you

  2. lofenix
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic