Lopesilvero of LearningHouse Creatives
10/5/2015 - 7:36 PM

Slash-proof url for WP redirection input - Regex

Slash-proof url for WP redirection input - Regex

// Below is the proper way to input a redirect into the Redirection Plugin inside any WP site that utilizes it. It's important for our vanity urls so that users will hit the destination page regardless of whether they have a slash at the end or not.

// Make sure to check the "Regex" box when inputting this way

Source URL:	 ^/link/?$
Example: ^/academics/area-of-study/stem/stimulating-stem-infographic/?$

Target URL:	 /whatever-url/?utm_medium=blah
Example: http://online.aurora.edu/programs/area-of-study/stem/stimulating-stem-infographic/