/
ARCHIVE-Create a redirect
ARCHIVE-Create a redirect
There are two kinds of redirects you can make:
- standard page redirect (makes a folder with a page in the base folder
/
) - see steps - QR code redirect (page in the folder
qr/
)
Generally these are built in the site _redirects
, however these can also be built on any page that exists. Just make sure that you do not create a redirect for a page that already exists to not create conflict.
Standard page redirect
- Open site
_redirects
in Cascade - Click the
Add Content
menu and selectStandard redirect
- Name the folder the text you want to appear after
cnu.edu/
(standard naming convention rules apply – no caps, dash not space) - Edit the page asset just created. Fill out the metadata information for the page in case this redirect is ever linked where metadata can display
- Expand
Customizations
panel and expand theRedirect
panel. - In the
Redirect Type
dropdown, select where your redirect is going
a. ChooseInternal
if it is a page hosted in Cascade. Select the page asset in the chooser.
b. ChooseExternal
if it is a page outside Cascade. Select the external link asset in theExternal Link
field or if this is a one off link, you can put the full URL in theExternal URL
text field. - Submit and save the page following normal documentation procedures
- Publish the page to production
QR code redirect
If your QR code includes UTM tracking, make sure to follow the instructions in the ARCHIVE-Create UTM tracking codes article.
- Open site
_redirects
in Cascade - Click the
Add Content
menu and selectQR code redirect
- Replace the term "rename" in the asset name based on the campaign name in column H in the QR code/UTM URLs Google Sheet. (Only the part you want to appear after
https://cnu.edu/qr/
and before.html
– standard naming convention rules apply – no caps, dash not space).
Make sure you keep .html in the file name or it will not work! - Edit the page asset just created. Fill out the metadata information for the page in case this redirect is ever linked where metadata can display
- Expand
Customizations
panel and expand theRedirect
panel. - In the
Redirect Type
dropdown, selectExternal
In theExternal URL
text field, paste the full URL with the UTM code elements (column I in the QR code/UTM URLs Google Sheet) - Submit and save the page following normal documentation procedures
- Publish the page to production
Once you have completed building the redirect, you can follow these instructions to create a QR code.