Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Auto Redirect URL in browser for Gallery

ssidhpura05
6 - Meteoroid

Hello - We had our Alteryx server (Single Node with Full Install) running on built In Authentication. With Built In Authentication, our Gallery Base Address was https://oursitename.com.  We were informed to enable SAML authentication as per the firm requirement which we did successfully however post changing the gallery authentication from Built In to SAML , we had to change the base address to https://oursitename.com/gallery  (This needs to be this way as per Alteryx Support engineer)

 

The challenge is, there are users who still use the old URL https://oursitename.com  to login to the gallery and gets a 404 error message which is expected.

 

 

Can we auto redirect any user browser request who tries to access the old URL https://oursitename.com , it should redirect to the new URL https://oursitename.com/gallery  

 

Any suggestions would be of great help. 

3 REPLIES 3
fmvizcaino
17 - Castor
17 - Castor

Hey @ssidhpura05 ,

 

We don't have anything native in Alteryx that could help you with this task. But you could look into some options here: https://www.tutorialspoint.com/How-to-automatically-redirect-a-Web-Page-to-another-URL

 

Best regards,

Fernando Vizcaino

chetto
5 - Atom

Hi Fernando -- where can we put a default page in the root path to redirect to /gallery ?  And does the default page need to have a specific file name?

 

Thank you,

Chet

nehakakar
6 - Meteoroid

Go to your virtual host configuration file for your old URL https://oursitename.com add a Redirect directive to specify the redirection.

Ex..

Redirect 301 / https://oursitename.com/gallery

 

This directive tells Apache to redirect a permanent (301) redirect from the old URL to the new URL.

Save the configuration file and restart the Service..

Manually test, Use browser developer tools to inspect network requests and redirects or use any online tool like https://redirectchecker.com/  This can help you to get detail redirection report might help pinpoint the issue.let me know still you have issue.