
You can use the Script Editor Webpart. Add it to home.aspx and use one of the examples at https://www.w3schools.com/howto/howto_js_redirect_webpage.asp.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I am wanting to redirect the homepage url to one main url. Currently users are getting the homepage using 3 different urls somehow. The main url is /Pages/Home.aspx
I'd like to totally redirect the 2 following urls but unsure where to set this redirect
/pages/home.aspx
/pages/Home.aspx
Thanks In Advance For Any Help
You can use the Script Editor Webpart. Add it to home.aspx and use one of the examples at https://www.w3schools.com/howto/howto_js_redirect_webpage.asp.
You can refer to the following code:
Ps: You must add a Script Editor web part on the specific site.
19464-script-urls.txt
----------
@Dez-4361
If the response is helpful, please click "Accept Answer" and upvote it.
hello,
script editor web part uses javascript approach. With this approach javascript code will run once page will be loaded i.e. user will see original page before redirection. If you use Sharepoint on-prem than as an alternate approach you may use Url rewrite IIS module in order to force lowercase urls for specific pages. Here is example of such rules: IIS7 rewrite rule that forces lower case for specified pages on domain