[ Clean | easy | alternative ] URLs for easy reference

More
5 years 11 months ago #71005 by filhocf
filhocf created the topic: [ Clean | easy | alternative ] URLs for easy reference
When i make a survey, LimeSurvey uses its internal ID to reference this survey in the URL. The idea is change this URL by a more easy.

Example: A survey with employees that did MBA.

"normal URL"
my.site.com/survey/index.php?sid=37424

"Clean/easy URL"
my.site.com/survey/mba

so, /mba is a alternative URL to /index.php?sid=37424.

Say to my user some thing like "Please, enter in 'my.site.com/survey/mba' and answer the survey!" is more easy (and mnemonic) that say a URL with text and numbers.
The following user(s) said Thank You: THO

Please Log in to join the conversation.

More
5 years 11 months ago #71006 by tpartner
tpartner replied the topic: [ Clean | easy | alternative ] URLs for easy reference
You can use $modrewrite to enable "fancy URLs".

If that doesn't meet your needs, you can use remote PHP files to redirect to the appropriare survey or, if your server is apache, .htaccess redirects.

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: filhocf

Please Log in to join the conversation.

More
5 years 11 months ago - 5 years 11 months ago #71013 by DenisChenu
DenisChenu replied the topic: [ Clean | easy | alternative ] URLs for easy reference

tpartner wrote: or, if your server is apache, .htaccess redirects.

Easy ;)
Redirect permanent /survey/mba  http://my.site.com/survey/index.php?sid=37424
in .htaccess

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 5 years 11 months ago by DenisChenu.
The following user(s) said Thank You: filhocf, THO

Please Log in to join the conversation.

More
5 years 11 months ago - 5 years 11 months ago #71016 by filhocf
filhocf replied the topic: [ Clean | easy | alternative ] URLs for easy reference
It is not exactly what i need. I need something that is possible to do through the web interface.

I need something like WordPress or Drupal, where I create a new post (like blog, page or news), and I can set the URL.

I need to see the side of user.

Is possible?
Last Edit: 5 years 11 months ago by filhocf. Reason: add the user's vision.

Please Log in to join the conversation.

More
5 years 11 months ago #71017 by tpartner
tpartner replied the topic: [ Clean | easy | alternative ] URLs for easy reference
There is no "alias" feature in LimeSurvey. You can add a feature request - ideas.limesurvey.org/ .

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
5 years 11 months ago #71023 by filhocf
filhocf replied the topic: [ Clean | easy | alternative ] URLs for easy reference
I already did it[1], Tony, and my idea is waiting moderation.
[1] ideas.limesurvey.org/ideatorrent/idea/360/

Meanwhile, i asked here too. :-)

Bests,
Claudio

Please Log in to join the conversation.

More
5 years 11 months ago - 5 years 11 months ago #71075 by JtC
JtC replied the topic: Aw: [ Clean | easy | alternative ] URLs for easy reference
Hi there,

a possible solution for your problem is the configuration with sub.domains in the dns configuration.

i tested this with my Domain-Provider ( www.domaindiscount24.com ) - i created a subdomain: test-survey.domain.com then i did a hidden redirection with the subdomain: test-survey.domain.com -> test-survey.limeask.com/123456/

Maybe this is the solution for your problem...

cya
Last Edit: 5 years 11 months ago by JtC.

Please Log in to join the conversation.

More
5 years 11 months ago #71085 by bwoo5
bwoo5 replied the topic: [ Clean | easy | alternative ] URLs for easy reference
What I have been doing for easy url's is creating a directory such as mysite.com/surveys/mba and then uploading a notepad file I named index.html into it using the following code. it opens up the survey full screen with no borders inside your url and it has been working great for me. You just have to put your survey url in the one place indicated, save it and upload it to that directory.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns=" www.w3.org/1999/xhtml ">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1 />
<title>Your Title</title>
<META name="robots" content="noindex,nofollow">
</head><frameset rows="100%,*" border="0">
<frame src="YOUR SURVEY URL HERE" frameborder="0" />
<frame frameborder="0" noresize />
</frameset> document.removeEventListener('click, clickHandler, true);
</html>

Please Log in to join the conversation.

More
5 years 11 months ago #71088 by DenisChenu
DenisChenu replied the topic: [ Clean | easy | alternative ] URLs for easy reference

filhocf wrote: I already did it[1], Tony, and my idea is waiting moderation.
[1] ideas.limesurvey.org/ideatorrent/idea/360/

Meanwhile, i asked here too. :-)

Bests,
Claudio

Think of different url for each langage too :)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!