Change URL for Limesurvey

Mehr
9 Monate 1 Woche her #161521 von jorkataaa85
jorkataaa85 erstellte das Thema Change URL for Limesurvey
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

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
9 Monate 1 Woche her #161522 von jorkataaa85
jorkataaa85 antwortete auf das Thema: Change URL for Limesurvey
i tried
'showScriptName' => true,

to change to

'showScriptName' => false,


Did not work either :(

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
9 Monate 1 Woche her #161523 von jelo
jelo antwortete auf das Thema: Change URL for Limesurvey

jorkataaa85 schrieb: 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

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
9 Monate 1 Woche her #161524 von jorkataaa85
jorkataaa85 antwortete auf das Thema: 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

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
9 Monate 1 Woche her #161527 von jelo
jelo antwortete auf das Thema: Change URL for Limesurvey

jorkataaa85 schrieb: to remove this numbers as well

Without the sid (surveyid), the number, you won't be able to access surveys.
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

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
9 Monate 1 Woche her #161529 von jorkataaa85
jorkataaa85 antwortete auf das Thema: 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

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
9 Monate 1 Woche her #161530 von jelo
jelo antwortete auf das Thema: 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.

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
9 Monate 1 Woche her #161531 von jorkataaa85
jorkataaa85 antwortete auf das Thema: 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

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
9 Monate 1 Woche her #161534 von jorkataaa85
jorkataaa85 antwortete auf das Thema: 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

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
9 Monate 1 Woche her - 9 Monate 1 Woche her #161573 von holch
holch antwortete auf das Thema: 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/?

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
Letzte Änderung: 9 Monate 1 Woche her von holch.
Folgende Benutzer bedankten sich: popcorn

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
9 Monate 1 Woche her #161588 von tpartner
tpartner antwortete auf das Thema: 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.
Folgende Benutzer bedankten sich: popcorn

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 2 Wochen her #169402 von popcorn
popcorn antwortete auf das Thema: 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"

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 4 Wochen her #170262 von lonsy
lonsy antwortete auf das Thema: Change URL for Limesurvey
Hi,
Have you tried to change from get to path in config.php as below?

'urlManager' => array(
'urlFormat' => 'path',
Folgende Benutzer bedankten sich: LouisGac

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Monat 4 Wochen her - 1 Monat 3 Wochen her #171624 von davebostockgmail
davebostockgmail antwortete auf das Thema: 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.
Letzte Änderung: 1 Monat 3 Wochen her von DenisChenu. Begründung: Usage of example.com

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha