The redirect feature available in SharePoint site settings can be used to redirect a URL in SharePoint online. You can specify the source URL and the target URL to redirect to, and SharePoint will automatically redirect users visiting the source URL to the target URL.