diff --git a/lib/frontend.php b/lib/frontend.php index 67cdd24..daf8f93 100644 --- a/lib/frontend.php +++ b/lib/frontend.php @@ -780,7 +780,7 @@ class frontend{ // https://ihsoyct.github.io/?subreddit=selfhosted&backend=pullpush&mode=comments&sort=desc elseif( preg_match( - '/^\/r\/([^\/]+)\/(?:search|wiki|about)?(?:$|\?|&)/', + '/^\/r\/([^\/]+)\/(?:(?:search|wiki|about)\/?)?(?:$|\?|&)/', $host["path"], $slug )