Forum > SMF Gallery Lite

Pretty URLs - SMF Gallery Lite

(1/1)

Adam Owicz:
Hello all,
Is it possible to fix the addresses of individual photos in smf-gallery-lite?
Now I have this entry in hatccess:


--- Code: ---# 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]
--- End code ---

The address of a single photo looks like this:


--- Code: ---www.my-side.com/gallery/?sa=view&id=31
--- End code ---

Thank you, greetings

Gallery Lite

SMFHacks:
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.

Navigation

[0] Message Index

Go to full version