joomla/joomla-cms — pull request #3582 by grayz7z (2014-05-11 14:50:55+00:00)
Title: Redirecting to SEF links when SEF is enabled

When creating redirects, usually non-SEF links are saved as they are universal (alias can be changed later; when SEF is switched off links are still valid) and easier to find (for instance by using JCE Editor to find links to articles). The problem with that is that on SEF site, non-SEF links are explored and displayed by search engines.
Here is a solution, how to detect non-SEF links and convert them to SEF ones.