View Issue Details

IDProjectCategoryView StatusLast Update
07538Feature requests[All Projects] Conditionspublic2019-03-14 11:19
ReporterfilhocfAssigned To 
PrioritynormalSeverityfeature 
Status acknowledgedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary07538: Get easy (or clean) URL for easy reference
Description

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"
http://my.site.com/survey/index.php?sid=37424

"Clean/easy URL"
http://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.

Additional Information

A possible solution: Look at Drupal project the alternatives URLs
In Drupal (www.drupal.org), we make a node (story, page, blog's page, etc) and it gives a url like:

my.page.com/?q=node/32

And i can change this URL automatically using a module or writing the final part of URL, like this:

my.page.com/title-of-my-post

Inside of Drupal, have a table where have the 'translation' between system's url and user's url.

TagsNo tags attached.

Activities

DenisChenu

DenisChenu

2012-02-04 14:08

developer   ~24396

Hello:

Needed : a table with:
sid | url | langage | date

Why langage: because url are unique for each langage
Why date : beacuse if you modify the url : need a 302 Moved Temporarily redirection ( and don't have 404 error or duplicate content)

After :
need to validate if URL is unique

Maybe create automatic translation between title and url ?

Lot of work :).

f_funke

f_funke

2019-03-14 11:08

developer   ~50974

Well, this is an old feature request. But actually, this would be really great. Would it still be a lot of work to implement it for LS4?

DenisChenu

DenisChenu

2019-03-14 11:19

developer   ~50977

Must review if beforeControllerAction can check 404 or not.
If yes : 2 solution by plugin : easy one : do a redirect to /surveyid, maybe most complicated : load the survey id without update http link

Issue History

Date Modified Username Field Change
2019-03-14 11:08 f_funke Note Added: 50974
2019-03-14 11:19 DenisChenu Note Added: 50977