Created
September 12, 2018 18:24
-
-
Save arasmussen/4afe09c312b3250541d516c17af3ae0f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function custom_url_rewrite_inbound(&$result, $path, $path_language) { | |
if (strpos($path, 'feedback/feature-requests') === 0 || | |
strpos($path, 'feedback/bug-reports') === 0 || | |
strpos($path, 'feedback/feedback-suggestions') === 0 || | |
strpos($path, 'feedback/portfolio-reviews') === 0) { | |
$result = 'node/54'; return; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment