Try Solodev

URL Redirects

URL/page redirects can help direct users away from pages that no longer exist or to more preferred locations.

Solodev supports URL redirects through the use of 301 redirects and a .htaccess file.

Note: .htaccess files are extremely powerful in terms of your website. One error in the .htaccess code can temporarily bring down your website. It is highly advised that any modifications to an .htaccess file be made with extreme care and by individuals with familiarity with such a file.

Step 1 - Create an .htaccess file (if not already created)

Create an ".htaccess" file in the root of the "www" file. Open the "www" file in the Workspace and click on + Add followed by File.

Step 2 - Create your 301 redirect

Specify the "Name" field as ".htaccess" and in the "Content" field add your 301 Redirect. Click Save when done.

Note: Make sure each 301 redirect in place follows the correct format:

Redirect 301 /old-page.stml http://www.mydomain.com/new-page.stml

The "old-page.stml" should be relative and reference the page you wish to redirect. The "http://www.mydomain.com/new-page.stml" should be absolute and reference the page you wish to redirect to.

If you have configured the 301 redirect properly, entering the old link in your browser will take you the newly specified url.

If you wish to add additional 301 redirects, continue to edit the .htaccess file, placing each redirect on its own line.