Member
Member
mazze   2015-09-22, 12:32
#1

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

Administrator
Administrator
acrylian   2015-09-22, 13:54
#2

No, the title is independent from the filename and it also can be multilingual so it is not even unique.

Member
Member
IanWorthington   2015-12-03, 20:18
#3

@acrylian:

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

i

Administrator
Administrator
fretzl   2015-12-03, 21:31
#4

Not really but you could try enabling the tinyURL plugin.
That would produce something like yourwebsite.org/tiny43450

Administrator
Administrator
acrylian   2015-12-03, 22:31
#5

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.

Member
Member
IanWorthington   2015-12-03, 23:17
#6

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

Administrator
Administrator
acrylian   2015-12-04, 11:41
#7

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.

Member
Member
IanWorthington   2015-12-05, 03:34
#8

Thanks. Added that in, now fixed.

i

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.