URLs Redirects
What is a URL Redirect?
A Redirect is a behind-the-scenes instruction that a website provides to a visitor's browser letting the browser know the original URL location requested is actually named something else or is located somewhere else, and it sends the browser to that new location.
When to Use a Redirect
- A page has changed location within a site.
- /blog/article1 is now located at /news/article1
- /blog/article1 is now located at /news/article1
- A page has changed its name.
- /research/facultyperson is changed to /research/person
- /research/facultyperson is changed to /research/person
- A vanity URL needs to be changed when domains are changed. Use vanity URLs with caution.
- https://oldsitename.uclahealth.org/conference is changed to https://conference.newsite.uclahealth.org
Internal Redirects
You should use an Internal Redirect in the following two circumstances: a page name or a location is changed but the domain remains the same.
- Log in to your site.
- Hover your mouse over Configuration.
- Hover your mouse over Search and metadata.
- Hover your mouse over URL redirects
- Click Add redirect.
-
Add the Path -- This is the former URL of the content.
-
Leave off any trailing backslash. Example: mysite.uclahealth.org/oldpage/ should be mysite.uclahealth.org/oldpage
-
-
Add the To URL -- This is the new location of your content.
-
Ideally, type in the Title. If the path changes, the title will retain the node ID.
-
You can also use the path: /mynews/mynewsarticle
-
-
Select the appropriate Redirect status from the dropdown menu.
-
"301 Moved Permanently" is most commonly used.
-
-
Scroll to the bottom of the screen and click the Save button to finish.