Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12382
Latest: ImportedPotato
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 40254
Total Topics: 7090
Most Online Today: 85
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 53
Total: 53

Author Topic: Pretty URLs - SMF Gallery Lite  (Read 1491 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: 15123
    • 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
1 Replies
2572 Views
Last post July 07, 2010, 12:57:35 pm
by SMFHacks
4 Replies
3856 Views
Last post September 11, 2010, 06:21:10 am
by Wickedgood
4 Replies
4086 Views
Last post December 13, 2010, 07:05:12 pm
by SMFHacks
12 Replies
5798 Views
Last post April 07, 2012, 08:25:21 am
by SMFHacks
2 Replies
7114 Views
Last post June 21, 2012, 08:16:38 am
by mjindustry

+- Recent Topics

Moving pictures to another user personal gallery by Hatshepsut
August 10, 2020, 11:07:26 pm

Rebuild related images time too long by SMFHacks
August 09, 2020, 01:52:57 pm

Call to undefined function mysql_num_rows() by SMFHacks
July 30, 2020, 07:45:29 am

Problem with one videosite embedding by Hatshepsut
July 24, 2020, 01:25:08 am

Download System Lite by Rock Lee
June 03, 2020, 07:34:24 pm

Font question by SMFHacks
May 27, 2020, 08:15:26 am

Error message with latest SMF 2.1 Github build by Hatshepsut
May 25, 2020, 01:43:26 am

smfblog not working on 2.0.17 by tech9
May 20, 2020, 01:44:34 pm

Copyright removal by stbc
May 18, 2020, 01:27:57 am

Mod Verified User i can't square the image by Rock Lee
May 07, 2020, 07:56:10 pm

Powered by EzPortal