•  » Requests
  •  » configurable/automatic URL aliasing / routing

#1 2012-09-23 00:42:20

alex2
Member
2012-09-20
15

configurable/automatic URL aliasing / routing

Many CMS platforms provide the ability to specify a certain logic for URLs. I'm familiar with doing this in drupal, using their pathauto feature. Would this be a useful feature for piwigo?

For example, blog software often has this feature. Say you write a blog post titled "Hello World", and posted it today, 22 September 2012. That might be assigned a URL like

    ...myblog.org/posts/2012/09/hello-world

Normally you define the URL-generation logic via tokens and hard-coded text, so this example's definition might look like

    /posts/[post-year]/[post-month]/[post-title]

I'm imagining that some piwigo users might prefer a different URL schema, for SEO or to be more human-readable. Personally I might prefer picture URLs to be : ...myserver/piwigo/gallery-name/picture-name

I don't know how complicated this would be. Certainly one issue is the need to keep URLs unique, which is presently addressed by embedding unique IDs in the URLs. Implementation-wise, most web app frameworks do this to one degree or another. Rather than creating a system from scratch it might be possible to integrate an existing component, like Symfony's or Alloy's.

Offline

 

#2 2012-09-25 18:11:37

alex2
Member
2012-09-20
15

Re: configurable/automatic URL aliasing / routing

I think it would be possible to implement this as an extension, although it might not work with all themes. I'd be interested in this feature and am capable of doing the programming, but don't have time to work on it right now.

Offline

 

#3 2012-09-25 19:39:23

mendip_discovery
Member
Mendip Hills, Somerset, UK
2012-05-19
91

Re: configurable/automatic URL aliasing / routing

Hello,

I support this idea as it does bug me at times that the sites does not support pretty urls. SEO is part of it but its also nice when sending out a link to people that its tidy.


Thanks,
Jack

Offline

 

#4 2012-09-25 20:41:23

flop25
Piwigo Team
2006-07-06
7037

Re: configurable/automatic URL aliasing / routing

Thx for your feedbacks
But this is not a priority
If you have time you could help us on that. Or hire someone else to help us on that.


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 
  •  » Requests
  •  » configurable/automatic URL aliasing / routing

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact