Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12412
Latest: geyknvyy
New This Month: 2
New This Week: 1
New Today: 1
Stats
Total Posts: 39951
Total Topics: 7034
Most Online Today: 43
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 35
Total: 36

Author Topic: Pretty URLs - SMF Gallery Lite  (Read 1197 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: 14980
    • 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
2437 Views
Last post July 07, 2010, 12:57:35 pm
by SMFHacks
4 Replies
3662 Views
Last post September 11, 2010, 06:21:10 am
by Wickedgood
4 Replies
3851 Views
Last post December 13, 2010, 07:05:12 pm
by SMFHacks
12 Replies
5475 Views
Last post April 07, 2012, 08:25:21 am
by SMFHacks
2 Replies
6903 Views
Last post June 21, 2012, 08:16:38 am
by mjindustry

+- Recent Topics

https://www.worldhealthcart.com/ketovatru/ by geyknvyy
Today at 04:10:14 am

hashTags only used by admins, but visible to everyone? by SMFHacks
December 08, 2019, 05:09:23 pm

Responsive Layout by Matthias
November 30, 2019, 03:05:57 pm

Secure connection failed Pretty Url Pro by Rock Lee
November 26, 2019, 10:44:23 am

Black Friday Sale Week 2019 by SMFHacks
November 23, 2019, 04:47:56 pm

German Translation missing in SMF 2.1R1 by SMFHacks
November 19, 2019, 02:38:42 pm

Unread items issue by SMFHacks
November 19, 2019, 10:07:32 am

Update detect mobile mode PHP5 to PHP7 by Rock Lee
November 16, 2019, 07:18:13 pm

PHP error by davejo
November 12, 2019, 12:09:47 pm

Message Editor Pro Issues by SMFHacks
November 06, 2019, 09:58:33 pm

Powered by EzPortal