User Tools

Site Tools


redirects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
redirects [2017/06/20 15:19]
brittany [Creating Redirects]
redirects [2018/07/23 16:14] (current)
samia
Line 1: Line 1:
 +====== Redirecting pages ======
 +<​html><​iframe width="​960"​ height="​540"​ src="​http://​www.youtube.com/​embed/​CLsRpp1P4BQ"​ frameborder="​0"​ allowfullscreen></​iframe></​html>​
  
 +===== Usage Example =====
 +
 +Redirects are used to automatically send a user's browser from one URL to another. For example, if you had a page at yoursite.com/​example-old-url.htm,​ then decide to changed it to yoursite.com/​new-url/,​ but still want your users to be able to find the page at its old URL, you would create a redirect like this:
 +
 +{{::​redirects1.png?​700|}}
 +
 +===== Finding Redirects =====
 +
 +{{::​redirects2.png?​500|}}
 +
 +The click on one of the redirects in the list to inspect, edit, or delete it.
 +
 +===== Creating Redirects =====
 +
 +{{::​redirects3.png?​500|}}
 +
 +Then fill in the fields and click the //Save// button at the bottom when you're finished.
 +===== Other notes on redirects =====
 +
 +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."​
 +
 +One common pitfall with redirects is the accidental creation of circular chains of redirects. For example yoursite.com/​a redirects to yoursite.com/​b which redirect to yoursite.com/​c which redirects back to yoursite.com/​a. These sorts of infinite redirect loops should be avoided for obvious reasons.
redirects.txt ยท Last modified: 2018/07/23 16:14 by samia