Redirects are used to automatically send a user's browser from one URL to another. Say you have a page at yourdomain.com/old-url but you want to change it to yourdomain.com/new-url/. A redirect will allow your users to find the new page using its old URL.
- Click "Add Redirect" to create a new Redirect or press Change to inspect, edit, or delete a current redirect.
- Define your old url.
- Define your new url.
- Save.
If you leave the Redirect to field blank, any requests to the path specified in Redirect from get a HTTP 410 Gone response, which means “The requested resource is no longer available at the server and no forwarding address is known.”
Be careful not to accidentally create a circular chain of redirects.
This occurs when:
- yourdomain.com/a redirects to yourdomain.com/b
- yourdomain.com/b redirects to yourdomain.com/c
- yourdomain.com/c redirects to yourdomain.com/a
The first two redirects results in yourdomain.com/a redirecting to yourdomain.com/c through yourdomain.com/b. The third redirect sends us back to our first url yourdomain.com/a. This begins an infinite loop causing the user to never land on a page.