This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
redirects [2010/03/31 21:28] vlad |
redirects [2020/05/28 19:37] (current) michaels |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Redirects ====== | + | #redirect https://support.realgeeks.com/hc/en-us/articles/360043155174 |
+ | ====== Redirecting pages ====== | ||
+ | <html><iframe width="960" height="540" src="https://www.youtube.com/embed/CLsRpp1P4BQ" frameborder="0" allowfullscreen></iframe></html> | ||
===== Usage Example ===== | ===== Usage Example ===== | ||
Line 5: | Line 7: | ||
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: | 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: | ||
- | {{:edit_redirect.jpg|}} | + | {{::redirects1.png?700|}} |
===== Finding Redirects ===== | ===== Finding Redirects ===== | ||
- | {{:list_redirects.jpg|}} | + | {{::redirects2.png?500|}} |
The click on one of the redirects in the list to inspect, edit, or delete it. | The click on one of the redirects in the list to inspect, edit, or delete it. | ||
Line 15: | Line 17: | ||
===== Creating Redirects ===== | ===== Creating Redirects ===== | ||
- | {{:add_redirect.jpg|}} | + | {{::redirects3.png?500|}} |
Then fill in the fields and click the //Save// button at the bottom when you're finished. | Then fill in the fields and click the //Save// button at the bottom when you're finished. | ||
- | |||
===== Other notes on redirects ===== | ===== 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." | 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 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. | + | 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. |