Welcome to the LimeSurvey Community Forum

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

Change URL for Limesurvey

More
5 years 10 months ago #170262 by lonsy
Replied by lonsy on topic Change URL for Limesurvey
Hi,
Have you tried to change from get to path in config.php as below?

'urlManager' => array(
'urlFormat' => 'path',
The topic has been locked.
More
5 years 8 months ago - 5 years 8 months ago #171624 by davebostockgmail
Replied by davebostockgmail on topic Change URL for Limesurvey
If it is critical to do this then I would just create a page that redirects to your survey and put it in the root directory of your web server. This can be done with HTML / PHP / JQuery .... your choice ....


You can then call it what ever you want .... www.example.com/yourpagename

Then use mod_rewrite to hide the fact your the original url is redirecting the user.

httpd.apache.org/docs/current/en/mod/mod_rewrite.html

That way you can have as many surveys named what you want without showing the full survey URL.
Last edit: 5 years 8 months ago by DenisChenu. Reason: Usage of example.com
The topic has been locked.
More
4 years 1 month ago #195693 by mrli999
Replied by mrli999 on topic Change URL for Limesurvey

jorkataaa85 wrote: and i managed to exclude the index.php file from the path

http://DOMAIN/limesurvey/index.php/12512341234123?lang=en

is now


http://DOMAIN/limesurvey/12512341234123?lang=en

would love to remove the limesurvey path as well



Would you please share how to remove index.php from the url?

I changed 'showScriptName' => true to 'showScriptName' => false according to the following page:
manual.limesurvey.org/General_FAQ#How_ca...to_get_a_shorter_URL

Then I got a 404 error. I don't know how to configure the website as the above page. Thanks.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago #195723 by DenisChenu
Replied by DenisChenu on topic Change URL for Limesurvey

mrli999 wrote: Then I got a 404 error. I don't know how to configure the website as the above page. Thanks.


> For this to work properly, you must use an Apache webserver with a properly installed mod_rewrite module.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
4 years 4 weeks ago #195733 by mrli999
Replied by mrli999 on topic Change URL for Limesurvey

DenisChenu wrote:

mrli999 wrote: Then I got a 404 error. I don't know how to configure the website as the above page. Thanks.


> For this to work properly, you must use an Apache webserver with a properly installed mod_rewrite module.


Thank you very much for your reply. I have no knowledge about mod_rewrite.

Would you please let me know how to do it? Should I add some content into htaccess file? What should I add? Thanks.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 4 weeks ago #195734 by DenisChenu
Replied by DenisChenu on topic Change URL for Limesurvey

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose