Create a URL Redirect
- In the Account Info service, click on the Manage Your Redirects tab.
- Click the "Add Redirect" button
- Complete the required fields in the Add Redirect window:
Pattern: The part of the URL you want to redirect from. It can be a full URL, or just the portion of the URL following the top-level domain (such as .com or .net).
Redirect To: The URL you would like to redirect to. It can be a full URL, or just the portion of the URL following the top-level domain (such as .com or .net).
Type: If your redirect is meant to stay in place, choose Permanent. If you will stop redirecting from the target pattern at some point, choose Temporary.
Preserve Params: Parameters are the elements appended to the end of a URL, and contain extra data used by a website for various purposes. Click this checkbox if you want to keep the parameters
SSL Secure: If you have a page you want to ensure is secure, check this box. This will also switch the URL to your Default LiveEdit URL (mysite.liveeditaurora.com) so that you won't have to pay for your own SSL certificate.
- Click the "Add Redirect" button. An new entry will appear for the redirect you have created
To edit the redirect: Click on the edit icon on the right side of the entry.
To remove the redirect: Click the trash can icon to the right of the edit icon.
URL Redirect Examples
Redirect from one page on your site to another page on your site
In this example, we will redirect users coming from a page on our site ("MyPageOne"), and send them to a second page within our site ("MyPageTwo").
Redirect To: /pages/MyPageTwo
Redirect to one page on your site to an external site
In this example, we will redirect users coming from a page on our site ("MyPageOne"), and send them to an external website (in this example, Google.com).
Redirect To: http://www.google.com
Using a "wildcard" in your redirect
Wildcards are special characters that tell your redirect to match against this PLUS anything that might come after it. It's very simple and extremely powerful, and might be best illustrated with an example.
Redirect To: http://www.google.com
The above settings would take any page whose name began with "MyPage" and direct them to Google.com. It would work with "/pages/MyPageOne" and "/pages/MyPageTwo", but not with "/MyPage" or "/pages/MySecondPage", because their paths differ before the wildcard and there is no match.
Using a wildcard to set your canonical URL
Your Aurora website can be accessed with or without a "www" in the URL. For instance, you can access the LiveEdit Aurora website at either "http://www.liveeditaurora.com" OR "http://liveeditaurora.com."
Under certain circumstances, search engines might index both URLs as if they were two separate websites, effectively dilluting your SEO values. When you choose a preferred version of your website - a version that you set as your preferred domain with Google Analytics and Google or Bing's Webmaster Tools - it's called a the canonical version. This is usually the version without the "www" in the URL structure.
To set the canonical version, you must redirect visitors who enter "www" into their browsers URL field. You can do this by entering the following information into the Add Redirect window:
Redirect To: http://yourwebsite.com
To validate your results, go to http://www.rexswain.com/httpview.html and enter your preferred domain into the URL field and uncheck the Auto-Follow Location box.
Your canonical or preferred domain should return a 200 code. Your redirected, non-preferred domain should return a 301 code.
The most commonly returned HTTP response codes include the following:
200: The page at the URL requested was successfully processed by the web server.
301: The URL requested has been permanently reassigned to another URL, and the page at that URL will be requested.
302: The URL requested has been temporarily reassigned to another URL, and the page at that URL will be requested.
404: The page at the URL requested couldn't be found on the web server.
503: The web server is temporarily unavailable and cannot process the URL request.