Redirect SharePoint modern page

Copper Contributor

Is there a possibility to make a redirect from one page to another. Attention I am not talking about redirect site to another site, for this topic you can find many instructions.

However, I would like to rename a page and then redirect the page from the old url name to the new.

old.aspx to new.aspx

Unfortunately there is no possibility to insert a Java Script. Otherwise this would be relatively simple to accomplish. I suspect that there is no way. Would that eventeull be a feature that could be done. This is certainly not a unique case.

3 Replies

@mrueegger I don't think this is possible using SharePoint OOTB capabilities.

 

However, you can use Modern Script Editor web part developed using SPFx by @Mikael Svenson to inject the custom JavaScript on modern page. Using custom JavaScript you can easily redirect user to another page.

Link to web partScript editor web part for modern pages 


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Ist leider von der Organisation zweck sicherheit nicht freigegeben.

Ridiculous that such a basic functionality hasn't been thought through by Msft.