- Posts: 10
- Thank you received: 0
Change URL for Limesurvey
- jorkataaa85
-
Topic Author
- Offline
- Fresh Lemon
-
as seen, often problem, which was already discussed. But i still have problems solving it.
I have my URL ( WEBSITE/limesurvey/index.php/12435624355?lang=en)
Lang=en shows that my survey has multiple language possibility.
I want to change this URL and exlude /limesurvey/ from the path and show something like
WEBSITE.COM/NAME OF THE SURVEY=EN
I did try to change the publicurl in the config.php file (application/config/config.php)
'publicurl'=> WEBSITE.COM
I did try to change the URL Format as well
'urlManager' => array(
'urlFormat' => 'path',
from 'path' to 'get'.
I still face problems and i would be very thankful if someone could offer a decision.
Cheers
Please Log in or Create an account to join the conversation.
- jorkataaa85
-
Topic Author
- Offline
- Fresh Lemon
-
- Posts: 10
- Thank you received: 0
'showScriptName' => true,
to change to
'showScriptName' => false,
Did not work either

Please Log in or Create an account to join the conversation.
jorkataaa85 wrote: WEBSITE/limesurvey/index.php/12435624355?lang=en
I want to change this URL and exlude /limesurvey/ from the path and show something like
WEBSITE.COM/NAME OF THE SURVEY=EN
Excluding /limesurvey/ would result in this URL:
WEBSITE/index.php/12435624355?lang=en
manual.limesurvey.org/General_FAQ#How_ca...to_get_a_shorter_URL
Take a look at the Yii-documentation and the comments about URL rewriting
www.yiiframework.com/doc/guide/1.1/en/topics.url
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Please Log in or Create an account to join the conversation.
- jorkataaa85
-
Topic Author
- Offline
- Fresh Lemon
-
- Posts: 10
- Thank you received: 0
Thanks i google it before and reached this pages as sujested answers,
tried it, but did not work out actually.
I do use apache server su i gues i do not need the part for Nginx http server.
My poit was not just to change the baseurl, but to remove this numbers as well
WEBSITE/limesurvey/index.php/12435624355?lang=en
should be changed to
WEBSITE/name of survey=EN
this is my point and after several hours trying and modifying the confg.php and config-defaults.php
i still did not manage to do it
Please Log in or Create an account to join the conversation.
Without the sid (surveyid), the number, you won't be able to access surveys.jorkataaa85 wrote: to remove this numbers as well
That number is the name of the survey for the Limesurvey application.
You won't find any option inside LimeSurvey to simple change that behaviour towards a alphanumeric name.
A alias feature to replace the sid with a short text isn't implemented.
The feature request from 2013 can be found here:
bugs.limesurvey.org/view.php?id=8239
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Please Log in or Create an account to join the conversation.
- jorkataaa85
-
Topic Author
- Offline
- Fresh Lemon
-
- Posts: 10
- Thank you received: 0
So there is no possibility to rename the survey itself to mysurvey.php or mysurvey.html?
Should alway be with a numeric value?
Cheers and thanks for your time. I managed to exlude the index.php from the path, but 12435624355?lang=en is impossible to rename?
Cheera
Please Log in or Create an account to join the conversation.
But that has nothing to do with Limesurvey. It's a way to redirect users on a website.
Often used when files have been moved and the webserver helps to redirect users.
So it is just a way to get short,simple urls for a few surveys.
www.limesurvey.org/de/foren/development/...en-is-entered#158324
httpd.apache.org/docs/2.4/rewrite/remapping.html
Don't cut and paste. You need to check what webserver and version is used first.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Please Log in or Create an account to join the conversation.
- jorkataaa85
-
Topic Author
- Offline
- Fresh Lemon
-
- Posts: 10
- Thank you received: 0
it had by default - deny from all
i wrote : Redirect /myhtml.html example.com/index.php/12345lang=EN where the http Adress is the real address of my survey
did not work.
So there is no way to get rid of the numeric value and have a survey URL like WEBSITE/name of survey=EN
Please Log in or Create an account to join the conversation.
- jorkataaa85
-
Topic Author
- Offline
- Fresh Lemon
-
- Posts: 10
- Thank you received: 0
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
Please Log in or Create an account to join the conversation.
If it is just because you don't want people to know that you are using Limesurvey: Why not rename the folder to something less revealing like /survey/?
I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Please Log in or Create an account to join the conversation.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Please Log in or Create an account to join the conversation.
Hoping that I could get some advice from you gurus.
1) I have Version 3.8.1+180529 installed. By default the files are installed in the "LimeSurvey" folder. I tried researching on what others did to change the folder name from "LimeSurvey" to "Survey" but it didn't work for me. I could not locate the "rooturl" like what others were discussing about.
2) I am puzzled with why my links are in the following format as opposed to what others who have the same installation as I do. I have already changed "showScriptName" to "false".
My current survey links:
subdomain.com/LimeSurvey/?r=survey/index&sid=123456&lang=en
Other's survey links
subdomain.com/LimeSurvey/123456?lang=en
Would you be able to guide me on how to achieve a link without the "?r=survey/index&sid"
Please Log in or Create an account to join the conversation.
Have you tried to change from get to path in config.php as below?
'urlManager' => array(
'urlFormat' => 'path',
Please Log in or Create an account to join the conversation.
- davebostockgmail
-
- Offline
- Expert Lime
-
- Posts: 83
- Karma: 3
- Thank you received: 20
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.
Please Log in or Create an account to join the conversation.