Hi!
This plugin doesn’t check (and therefore misses) for port in URLs.
You should add something like this:
if ($parse[‘port’] != ”) {
$root = $root + “:” + $parse[‘port’];
}
every time you build the root domain to remove.
Regards!
Dani.
]]>