Redirect old url to new url

Carol11
Kilo Expert

Hi,

I have a serviceportal page with a url  servicenow.com/Brick   and i want to change it to a new url servicenow.com/Duck.

How can i redirect users that have servicenow.com/Brick saved as a bookmark to servicenow.com/Duck.

thanks

1 ACCEPTED SOLUTION

Carol11
Kilo Expert

Hi i just made a new portal and redirected it, thanks

View solution in original post

5 REPLIES 5

Omkar Mone
Mega Sage

Hi 

Please go to portal's module and from there change the suffix of the Brick to Duck.

 

Mark correct if it helps.

 

Regards,

Omkar Mone

www.dxsherpa.com

 

sam352120
Kilo Guru

Hi Omkar,

 

Plesae refer to the screenshot below for reference.You can change the suffix from there to servicenow.com/Duck as per your requiremnt.

Navigation Service portal Configuration --> Portal--> Change your URL suffix to (servicenow.com/Duck)

   find_real_file.png

 

NOTE: Plesae mark helpful or correct 

 

Thanks,

Sambit

Hi sorry,

 

I know about this . But if a user has been using an old url for sometime, it should be able to redirect to the new url.

Hi carol,

Can you try with the bunch of code below to redirect the user to the new URL.

 

Edit the script on the SPEntryPage to change the assigned portal to the portal_suffix you want. SPEntryPage uses servicenow.com/Duck as the portal path to redirect to. 

-------------

SPEntryPage.prototype = {

intialize: function() {

this.portal = "Servicenow.com/Duck" // The target URL you want to redirect

 

NOTE:Plesae mark helpful or correct if it helps

 

Thanks,

Sambit