Welcome to the LimeSurvey Community Forum

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

Change URL for Limesurvey

More
6 years 11 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
6 years 10 months ago - 6 years 10 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: 6 years 10 months ago by DenisChenu. Reason: Usage of example.com
The topic has been locked.
More
5 years 2 months 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

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

is now


https://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:
www.limesurvey.org/manual/General_FAQ#Ho...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 & Official Partner
  • LimeSurvey Community Team & Official Partner
More
5 years 2 months 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 support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
5 years 2 months 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 & Official Partner
  • LimeSurvey Community Team & Official Partner
More
5 years 2 months 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 support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose