Redirect to New Survey

Mehr
1 Woche 5 Tage her #183122 von teracomp
COM_KUNENA_MESSAGE_CREATED_NEW
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?

Thanks again for your incredible support.

Dave Phillips

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

LimeSurvey Partners
Mehr
1 Woche 5 Tage her #183123 von jelo
COM_KUNENA_MESSAGE_REPLIED_NEW
You will need to have the survey activated to have EndURL or quota redirection working.

Or open a new feature request. I had the idea to have a maintenance mode per survey.
bugs.limesurvey.org/view.php?id=10038#c36753

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Folgende Benutzer bedankten sich: teracomp

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 5 Tage her #183124 von teracomp
COM_KUNENA_MESSAGE_REPLIED_NEW
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.

Dave Phillips

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 5 Tage her #183128 von DenisChenu
COM_KUNENA_MESSAGE_REPLIED_NEW

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Folgende Benutzer bedankten sich: teracomp

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 5 Tage her - 1 Woche 5 Tage her #183134 von holch
COM_KUNENA_MESSAGE_REPLIED_NEW
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. ;-)

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Last edit: 1 Woche 5 Tage her by holch.
Folgende Benutzer bedankten sich: teracomp

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 5 Tage her #183136 von teracomp
COM_KUNENA_MESSAGE_REPLIED_NEW
htaccess is definitely a great solution and perhaps the best idea. I just have to be really smart about capturing the url properly.

Thanks for all the ideas. This is really helpful!

Dave Phillips

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 5 Tage her #183137 von jelo
COM_KUNENA_MESSAGE_REPLIED_NEW

holch schrieb: Why not redirect the old survey URL via .htaccess to the new survey URL?

Because you will forget about the redirection ;-) The next update of Limesurvey might overwrite it.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Folgende Benutzer bedankten sich: DenisChenu, teracomp

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 5 Tage her #183138 von holch
COM_KUNENA_MESSAGE_REPLIED_NEW
OK, makes sense. I had somehow read it as it is a new and a old installation. I re-read the post and the is no indication that this is the case.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Folgende Benutzer bedankten sich: teracomp

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 4 Tage her #183184 von teracomp
COM_KUNENA_MESSAGE_REPLIED_NEW
Thanks to an amazing team for quick responses. I chose to implement the end_url Jelo suggested.

Here are some details that made this work for me:
  1. Deleted all the Description text
  2. Set "Show Welcome" to off
  3. Set Relevance to 0 for all question groups
  4. Set the end_url to the new version of the survey
  5. Finally, I updated the title to reflect the old version

I tested the results by pointing to the old survey. The redirect was completely transparent. Perfect!

Dave Phillips
Folgende Benutzer bedankten sich: DenisChenu

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha