I have two old surveys that I've updated, but the old survey URLs are still used (occasionally). To address this issue, I set the relevance equations to 0 on all of the groups and changed the Welcome page to point them to the most recent version of the surveys.
While this works, it leaves me with a survey that's dormant.
If I expire the survey, the user is prompted with: "Survey Expired. Thank you for your support. We are evaluating the Validation Survey at this time."
If I deactivate the survey, the users see "Error. We are sorry but you don't have permissions to do this."
And, of course, if I delete the survey, the users get a 404 response.
Is there a method to capture the 404 page and redirect the user to something that gives them logical choices?
The EndURL sounds like a better idea than the one I currently have in place. I should be able to point them directly to the new survey. Worst case, a few clicks.
The only downside is the survey remains active in my list of surveys. I'm just trying to clean house to reduce admin overhead...and potential mistakes.
The Maintenance Mode is interesting, but like an Expired survey, it still doesn't remove the survey from my admin panel.
I was hoping for a 404 trap somewhere (e.g., WordPress, etc.), perhaps a configuration property that would be managed at the server instance level. Something like, if 404, redirect to a page that detects the source and offers some options.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
Why not redirect the old survey URL via .htaccess to the new survey URL? Then you can delete the old survey and anyone who opens the old URL will be automatically redirected to the new one.
Yes, you have to manually adapt the htaccess, but I think it is the cleantest solution. But maybe there is something that I did not think through completely. I am sure in this case Jelo and Denis will let you know.
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.