Improved the PHP functions for scanning keywords to capture all instances, including prefixes. Fixed the issue with redirection when updating keywords.