Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

FIXED htaccess url rewrite for admin links on upgrade LTS v3 to v5

More
3 months 2 weeks ago #236349 by fradeff
Hi
Just upgraded from LTS v3 to 5.4.13+221128
I've noted that old admin URLS like:
/index.php/admin/survey/sa/view/surveyid/265676
are now with this syntax:
/index.php/surveyAdministration/view/iSurveyID/265676
And I would lile previous admin URLs automatically redirected to new syntax
I've tried a couple of RewriteRules in the .htaccess but none worked
Has someone already written a similar rule?

Please Log in to join the conversation.

More
3 months 2 weeks ago #236389 by fradeff
found it! it was easier than I thought, no need of RewriteRule or RewriteCond, a simple Redirect works:

<IfModule mod_rewrite.c>
RewriteEngine on
Redirect /index.php/admin/survey/sa/view/surveyid /index.php/surveyAdministration/view/iSurveyID

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose