Welcome, Guest
Username: Password: Remember me

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

Survey URL generated without special characters such as ? and & and = 9 months 4 weeks ago #101774

  • rylee
  • rylee's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
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
The administrator has disabled public write access.

Survey URL generated without special characters such as ? and & and = 9 months 4 weeks ago #101783

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
The administrator has disabled public write access.

Survey URL generated without special characters such as ? and & and = 9 months 4 weeks ago #101789

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6334
  • Thank you received: 818
  • Karma: 243
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
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.156 seconds
Donation Image