Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12241
Latest: ronaldjduncan
New This Month: 10
New This Week: 1
New Today: 1
Stats
Total Posts: 39383
Total Topics: 6933
Most Online Today: 77
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 36
Total: 37

Author Topic: Pretty URLs - SMF Gallery Lite  (Read 711 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: 14715
    • 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
2188 Views
Last post July 07, 2010, 12:57:35 pm
by SMFHacks
4 Replies
3206 Views
Last post September 11, 2010, 06:21:10 am
by Wickedgood
4 Replies
3351 Views
Last post December 13, 2010, 07:05:12 pm
by SMFHacks
12 Replies
4794 Views
Last post April 07, 2012, 08:25:21 am
by SMFHacks
2 Replies
6408 Views
Last post June 21, 2012, 08:16:38 am
by mjindustry

+- Recent Topics

condition de livraison by SMFHacks
December 14, 2018, 12:47:53 pm

Multiple Versions in SMF by Boomslanger
December 13, 2018, 06:13:31 pm

GDPR Helper free doubts by Rock Lee
December 08, 2018, 06:20:57 pm

Downloads Pro 5.0 Released by SMFHacks
December 05, 2018, 03:11:32 pm

SMF Hacks Black Friday Sale! by SMFHacks
November 30, 2018, 09:03:04 am

Rewrite rule for IPN by diegolyanky
November 26, 2018, 10:58:55 am

EDITOR PRO by SMFHacks
November 25, 2018, 03:12:19 pm

SMF Gallery Pro 8.0 / PHP 7.0 onwards by SMFHacks
November 25, 2018, 12:33:10 pm

5.0 beta log errors by tfs
November 24, 2018, 10:37:06 pm

Download button doesn't initiate a download the first time by SMFHacks
November 24, 2018, 09:08:55 pm

Powered by EzPortal