@RoySegall I do not think the change above is needed.  This was the same functionality and duplicates what was changed in @baisong PR for this issue.  The line you removed disables rewriting of aliases that have a purl modifier in them already.  Ex. You end up with URL's like (lincolin.local/site1/site1/blog/richards-post).  I think the tests will still pass with the above change removed.