function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
OlegBOlegB 

automatic redirect

I just noticed that our SF instance has been moved from NA3 to NA5. When I try to explicitly login to NA3, I get  redirected to NA5 automatically. Will this redirect be supported indefinitely?
The issue is that we have custom code that sometimes creates links to objects using our instance URL. We will fix it to generate NA5 links from now on, but I wanted to check if we need to clean up old NA3 links and replace with NA5, in case the redirect will stop working at some point.

The scenario I'm talking about could be the following:
- A user is logged in into SF, redirected to NA5, and is looking at the Case record, a description of which contains a lilnk to an Opportunity, but the link is defined as https://na3.salesforce.com/zzzzzzzzzzzzz.

Thanks,
Oleg

SaurabhRawaneSaurabhRawane
Instead of having https://na3.salesforce.com as hard coded try out having '/zzzzzzzzzz' simply for your Custom link

It will take the relative URL from your login instance.And you will be free from all the worries of any changes made at the SFDC instance side.

Hope it serves the purpose