Check out the LimeSurvey source code on GitHub!

Survey URL generated without special characters such as ? and & and =

3 years 3 months ago #101774 by rylee
Was hoping someone could give us some info on how we can have the tool generate a given URL for a newly created survey which doe NOT have the special characters in it, as this is giving us some issues both with storing the URL in a DB among other issues..

Any help would be great!

BTW - truly an excellent , intuitive, and very capable tool you guys have produced - Hats Off!

Thanks and Regards,


Please Log in to join the conversation.

3 years 3 months ago #101783 by maxzomborszki
Which version of LimeSurvey are you using?

Prior to upgrading to 2.0 I used a .htaccess-file to let Apaches ModRewrite rewrite the URLs for our installation. The .htaccess-file was supplied in the LimeSurvey distribution at the time.

As of 2.0 I don't use it any more since the URLs for the surveys don't pass parameters in the same way, so the answer depends on which version you are running.

Hope this helps you a bit along the way.


Please Log in to join the conversation.

3 years 3 months ago #101789 by DenisChenu

Look at application/config/config.php file for urlmanager
and replace by:
'urlManager' => array(
			'urlFormat' => 'path',
			'rules' => require('routes.php'),
			'showScriptName' => false,
BUT if LimeSurvey choose 'urlFormat' => 'get', maybe you don't have urlrewriting in your serevr, the LS can use rewriting and need 'urlFormat' => 'get',


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).

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form