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
Claire DoyleClaire Doyle 

301 URL redirect not working

All,

Hoping you can help as i logged a case with Salesforce and they can't resolve it as it is not supported by them. 

We launced a new website last week and i set up the 301 redirects to the landing pages of the new site. However, they aren't working and are just giving the site maintenance message. Unfortunately over the weekend we had 85 hits to one of these links where people had bookmarked them and weren't redirected, possibly resulting in lost business for us.

Has anyone ever come across this issue before?

Just for further info all redirects are activated and the link redirects are:

     //directpersonnel.force.com/SiteLogin to http://directpersonnel.com/jobs/
//directpersonnel.force.com/ts2__JobSearch to https://directpersonnel.com/jobs
    //directpersonnel.force.com/ts2__Register to     http://directpersonnel.com/jobs/

Thanks,

Claire
Best Answer chosen by Claire Doyle
Magesh Mani YadavMagesh Mani Yadav
Hi Claire,

Can you try like this:
/SiteLogin to http://directpersonnel.com/jobs/
/ts2__JobSearch to http://directpersonnel.com/jobs/
/ts2__Register  to http://directpersonnel.com/jobs/

All Answers

Magesh Mani YadavMagesh Mani Yadav

HI Clair,

Have you tried like this NOT // instead / (single slash). Should work

/directpersonnel.force.com/SiteLogin to http://directpersonnel.com/jobs/
/directpersonnel.force.com/ts2__JobSearch to https://directpersonnel.com/jobs
    /directpersonnel.force.com/ts2__Register to     http://directpersonnel.com/jobs/

Claire DoyleClaire Doyle
Hi Magesh, Thank you for looking at this for me. I tried that and it still isn’t working…do you have any other ideas by any chance? Thanks, Claire
Magesh Mani YadavMagesh Mani Yadav
would it be possible for you to share the screenshot of the redirect setting page?
Claire DoyleClaire Doyle
Sorry it has taken me so long Magesh it has been crazy busy here. Please find the screenshot below.

User-added image
Magesh Mani YadavMagesh Mani Yadav
Hi Claire,

Can you try like this:
/SiteLogin to http://directpersonnel.com/jobs/
/ts2__JobSearch to http://directpersonnel.com/jobs/
/ts2__Register  to http://directpersonnel.com/jobs/
This was selected as the best answer
Claire DoyleClaire Doyle
Hi Magesh, Brilliant thank you so much that worked ☺ Thanks, Claire