Picture title in URL

Hi,
it is possible to take the images Title in the URL?

such as
www.domain.de/album_name/subalbum_name/title_of_picture.html

regards,
Matthias

Comments

  • acrylian Administrator, Developer
    No, the title is independent from the filename and it also can be multilingual so it is not even unique.
  • @acrylian:

    The URL is /always/ the filename.extension? No way of changing it?

    i
  • fretzl Administrator, Developer
    Not really but you could try enabling the `tinyURL` plugin.
    That would produce something like `yourwebsite.org/tiny43450`
  • acrylian Administrator, Developer
    tinyURL of course would be not so great for SEO. That's more for sharing if you need short urls (Twitter for example).

    @IanWorthington: No, sorry. Reason - besides this is legacy being that way since always - is simply that Zenphoto needs to differ the different types (album, image, news, pages and so on) as you otherwise easily run into URL conflicts. `album/image` could also be a subalbum named "image" of the album "album" otherwise.

    You can however remove the rewrite suffix after the image suffix (so `album/image.jpg` instead of `album/image.jpg.html`) This however seems to cause SEO issues with google though mistaking the image page for an actual image file though.
  • OK, thanks guys. I'll stop fighting it and rename my images how I want them to appear before I upload them then.

    @acrylian: I notice I get /image.jpg anyway. It sounds like I should turn that off. How do I do so please?

    i
  • acrylian Administrator, Developer
    Take a look at Options > General > URL options > mod_rewrite suffix. Default should be ".html". ".php" is not recommended as it sometimes triggers stricter server security on some servers thinking this is a php page pretending to be an image.
  • Thanks. Added that in, now fixed.

    i
Sign In or Register to comment.