SMFHacks.com
SMF Gallery Lite => SMF Gallery Lite => Topic started by: Adam Owicz on December 09, 2017, 10:32:36 am
-
Hello all,
Is it possible to fix the addresses of individual photos in smf-gallery-lite?
Now I have this entry in hatccess:
# Rules for: smf-gallery-lite
RewriteRule ^gallery/index\.php$ index.php?action=gallery [L,QSA]
RewriteRule ^gallery/category/([^/]+)/?$ ./index.php?action=gallery;cat=$1 [L,QSA]
RewriteRule ^gallery/picture/([^/]+)/?$ ./index.php?action=gallery;sa=view;id=$1 [L,QSA]
The address of a single photo looks like this:
www.my-side.com/gallery/?sa=view&id=31
Thank you, greetings
Gallery Lite (http://www.uklad-zamkniety.ga/gallery/)
-
I think there is an addon in pretty urls. But i haven't looked at it in many years.
The most you can get with with that was site.com/gallery/picutureid I believe.