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

More
4 years 21 hours ago #101774 by rylee
rylee created the topic: Survey URL generated without special characters such as ? and & and =
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,

Ryan

Please Log in to join the conversation.

More
4 years 8 hours ago #101783 by maxzomborszki
maxzomborszki replied the topic: Survey URL generated without special characters such as ? and & and =
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.

/Max

Please Log in to join the conversation.

More
4 years 7 hours ago #101789 by DenisChenu
DenisChenu replied the topic: Survey URL generated without special characters such as ? and & and =
Hi,

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',

Denis

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 .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!