fix profile pages

This commit is contained in:
Matthias Pfefferle 2023-05-30 10:00:48 +02:00
parent 503353bcd0
commit a617553ddf

View file

@ -226,8 +226,8 @@ class Activitypub {
'top'
);
\add_rewrite_rule(
'^@([\w]+)',
'index.php?rest_route=/' . ACTIVITYPUB_REST_NAMESPACE . '/users/$matches[1]',
'^@([\w\-\.]+)',
'index.php?rest_route=/' . ACTIVITYPUB_REST_NAMESPACE . '/users/$matches[1]&redirect=true',
'top'
);
}