Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12209
Latest: esoterico
New This Month: 17
New This Week: 0
New Today: 0
Stats
Total Posts: 39239
Total Topics: 6906
Most Online Today: 37
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 50
Total: 50

Author Topic: Pretty URLs - SMF Gallery Lite  (Read 488 times)

0 Members and 1 Guest are viewing this topic.

Offline Adam Owicz

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Układ zamknięty
Pretty URLs - SMF Gallery Lite
« 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:

Code: [Select]
# 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:

Code: [Select]
www.my-side.com/gallery/?sa=view&id=31
Thank you, greetings

Gallery Lite


Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14646
    • View Profile
Re: Pretty URLs - SMF Gallery Lite
« Reply #1 on: December 09, 2017, 10:41:07 am »
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.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
3120 Views
Last post September 11, 2010, 06:21:10 am
by Wickedgood
4 Replies
3258 Views
Last post December 13, 2010, 07:05:12 pm
by SMFHacks
12 Replies
4642 Views
Last post April 07, 2012, 08:25:21 am
by SMFHacks
2 Replies
6324 Views
Last post June 21, 2012, 08:16:38 am
by mjindustry
5 Replies
3133 Views
Last post January 24, 2015, 03:14:00 pm
by SMFHacks

+- Recent Topics

banner visible only to admin by SMFHacks
October 21, 2018, 08:09:00 am

message editor pro by dan42101
October 19, 2018, 11:26:45 pm

multiple currencies bug by SMFHacks
October 19, 2018, 09:45:49 pm

Looking for ideas for next SMF Classifieds by SMFHacks
October 19, 2018, 04:41:48 pm

Turn off Download Stats? by SMFHacks
October 18, 2018, 12:12:28 pm

KARMA Badge by SMFHacks
October 17, 2018, 11:17:16 pm

remove the boards ? by SMFHacks
October 16, 2018, 03:08:00 pm

Upgraded to pro - some features not working? by SMFHacks
October 16, 2018, 10:21:38 am

SMF lottery mod by SMFHacks
October 13, 2018, 08:02:41 am

Error after adding Russian translation by SMFHacks
October 08, 2018, 04:10:41 pm

Powered by EzPortal