- Posts: 10
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Change URL for Limesurvey
- jorkataaa85
- Topic Author
- Offline
- New Member
Less
More
6 years 3 months ago #161521
by jorkataaa85
Change URL for Limesurvey was created by jorkataaa85
Hi guys,
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
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
The topic has been locked.
- jorkataaa85
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 0
6 years 3 months ago #161522
by jorkataaa85
Replied by jorkataaa85 on topic Change URL for Limesurvey
i tried
'showScriptName' => true,
to change to
'showScriptName' => false,
Did not work either
'showScriptName' => true,
to change to
'showScriptName' => false,
Did not work either
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
6 years 3 months ago #161523
by jelo
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
Replied by jelo on topic Change URL for Limesurvey
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
The topic has been locked.
- jorkataaa85
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 0
6 years 3 months ago #161524
by jorkataaa85
Replied by jorkataaa85 on topic Change URL for Limesurvey
Hi
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
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
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
6 years 3 months ago #161527
by jelo
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
Replied by jelo on topic Change URL for Limesurvey
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
The topic has been locked.
- jorkataaa85
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 0
6 years 3 months ago #161529
by jorkataaa85
Replied by jorkataaa85 on topic Change URL for Limesurvey
O WOW!
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
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
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
6 years 3 months ago #161530
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Change URL for Limesurvey
As a workaround you can create redirections via apache htaccess or simple php files.
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.
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
The topic has been locked.
- jorkataaa85
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 0
6 years 3 months ago #161531
by jorkataaa85
Replied by jorkataaa85 on topic Change URL for Limesurvey
I tried to use the .htaccess file and wrire it
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
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
The topic has been locked.
- jorkataaa85
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 0
6 years 3 months ago #161534
by jorkataaa85
Replied by jorkataaa85 on topic Change URL for Limesurvey
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
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
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11756
- Thank you received: 2753
6 years 3 months ago - 6 years 3 months ago #161573
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Change URL for Limesurvey
Well, you installed Limesurvey into the /limesurvey/ folder. So what do you expect? Everything around that will always be some kind of workaround, as long as Limesurvey is installed in this subfolder.
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/?
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 answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Last edit: 6 years 3 months ago by holch.
The following user(s) said Thank You: popcorn
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10632
- Thank you received: 3697
6 years 3 months ago #161588
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Change URL for Limesurvey
...or use a sub-domain directed to the /limesurvey/ directory.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: popcorn
The topic has been locked.
- popcorn
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
5 years 9 months ago #169402
by popcorn
Replied by popcorn on topic Change URL for Limesurvey
Hi guys,
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"
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"
The topic has been locked.