move permanently

This commit is contained in:
Matthias Pfefferle 2023-05-30 10:29:23 +02:00
parent c95e501f98
commit daf228fd44

View file

@ -58,7 +58,7 @@ class Users {
// redirect to canonical URL if it is not an ActivityPub request
if ( ! is_activitypub_request() ) {
header( 'Location: ' . $user->get_canonical_url() );
header( 'Location: ' . $user->get_canonical_url(), true, 301 );
exit;
}