Works very well. The only issue I have with it is that when you install it, PrettyURLs will wipe your .htaccess file clean. This is not good for users who have entries already in the .htaccess file. However updating PrettyUrls after installation will leave the .htaccess entries intact. Using SMF 2.1.7.
There seems to be an issue here in the Subs-PrettyUrls.php file:
// Backup the old .htaccess file
@copy($boarddir . '/.htaccess', $boarddir . '/.htaccess.backup');
// Replace the old with the new, if we can
$oldHtaccess = file_get_contents($boarddir . '/.htaccess');
$pattern = '~# PRETTYURLS MOD BEGINS.+# PRETTYURLS MOD ENDS~s';
if (preg_match($pattern, $oldHtaccess, $match))
$htaccess = str_replace($match[0], $htaccess, $oldHtaccess);
$htaccess starts out as PrettyUrls code and if there is no match in the $oldHtaccess file it just overwrites existing information in the .htaccess file with the PrettyUrls information wiping out all existing entries.
I believe what is needed is this to keep existing entries when no match of the $pattern is found:
if (preg_match($pattern, $oldHtaccess, $match))
$htaccess = str_replace($match[0], $htaccess, $oldHtaccess);
else
$htaccess = $htaccess . PHP_EOL . $oldHtaccess;