move permanently
This commit is contained in:
parent
c95e501f98
commit
daf228fd44
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class Users {
|
||||||
|
|
||||||
// redirect to canonical URL if it is not an ActivityPub request
|
// redirect to canonical URL if it is not an ActivityPub request
|
||||||
if ( ! is_activitypub_request() ) {
|
if ( ! is_activitypub_request() ) {
|
||||||
header( 'Location: ' . $user->get_canonical_url() );
|
header( 'Location: ' . $user->get_canonical_url(), true, 301 );
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue