Content Type Details
ID:
Name: [MODULE] PHP CSV Redirects
Description: PHP code need for the redirects
| Name | Description | Size | Type | Required |
|---|---|---|---|---|
| Name | The Name element | 80 Characters | Plain Text | Yes |
| Main Library | Link to the Main Library PHP File | 80 Kilobytes | Media | Yes |
| CSV File | Select CSV file with first column the URL that needs to redirect and second column the URL that redirect has to go | 102398976 Kilobytes | File | Yes |
| Ignore Query | In the From URL always ignore the variable passed via query | 80 Characters | Check Box | No |
| Exact Match | If selected it will always redirect only if an exact match, otherwise it will check if the From URL is 85% close the list of URL provided | 80 Characters | Check Box | No |
Instructions:
-
This content type should be used in a section called “404"
- Only one instance should be made and a CSV file is already in place there which has 2 columns, one in which URLs to be directed can be entered and another where these URLs should direct to
Example
For example, we have added an example if a user clicks or enters https://uscaedu-lb01-production.terminalfour.net/abc they will be redirected to https://uscaedu-lb01-production.terminalfour.net/About/