Core Concepts
Redirects
Concept
Redirects are a way to send users, and search engines, to different Pages or external link from the one they originally requested. The two most commonly used redirects are 301 and 302.
Redirects consist of three parts: the From, the To, and the Type:
- "From" is the URL that you want to redirect from, i.e. what URL the user is wanting to go to.
- "To" is the URL that you want to redirect to, i.e. what URL the user should be redirected to instead of the one they requested.
- "Type" is the HTTP status code that you want to use when redirecting the user.
Types
There are various Types of Redirects available for you to use. These Types are important for search engines to know what happened to previously indexed pages or for URLs that lead to somewhere else, so choosing the best one is important.
- "301 (Moved Permanently)" - This is the default redirect type. It means that the user's browser should be redirected to the to URL, and the from URL should be permanently removed from the user's browser's history.
- "302 (Found)" - This indicates that the resource requested has been temporarily moved to the URL given by the Location header. A browser redirects to this page but search engines don't update their links to the resource.
- "303 (See Other)" - This indicates that the redirects don't link to the newly uploaded resources, but to another page (such as a confirmation page or an upload progress page).
- "304 (Not Modified)" - This is a special redirect type that is used when you want to tell the user's browser that the content they requested has not changed.
- "307 (Temporary Redirect)" - This indicates that the resource requested has been temporarily moved to the URL given by the Location headers.
- "308 (Permanent Redirect)" - This redirect type is when the resource requested has been definitively moved to the URL given by the Location headers. A browser redirects to this page and search engines update their links to the resource.
Usage
Creating a Redirect is done within the CMS and is automatically handled for you.
Autoload will only handle redirect coming into your application. It will not work on redirects from other domains.