I would like to prevent that the index.php file is loaded to display the survey list. Instead, I want to redirect people to another URL.
Description of current architecture:
LimeSurvey is installed in the folder "/survey/". In "/" I run a static website. Therefore, participants to surveys will visit domain.com/survey/123456. Now, I want to prevent that people visit domain.com/survey/ directly and redirect them to domain.com instead. I tried updating index.php to redirect but these changes are easily lost when running a software update. I did not yet find a solid way to implement this.
Usually this should be done via .htaccess. There you can define a redirect for domain.com/survey/, but this has very little to do with Limesurvey and is rather a hosting or server admin question.
Help us to help you!
Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.