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' 'top'
); );
\add_rewrite_rule( \add_rewrite_rule(
'^@([\w]+)', '^@([\w\-\.]+)',
'index.php?rest_route=/' . ACTIVITYPUB_REST_NAMESPACE . '/users/$matches[1]', 'index.php?rest_route=/' . ACTIVITYPUB_REST_NAMESPACE . '/users/$matches[1]&redirect=true',
'top' 'top'
); );
} }