Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12284
Latest: arthurheller99
New This Month: 11
New This Week: 0
New Today: 0
Stats
Total Posts: 39527
Total Topics: 6963
Most Online Today: 64
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 62
Total: 62

Author Topic: Pretty URLs - SMF Gallery Lite  (Read 791 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: 14786
    • 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
2220 Views
Last post July 07, 2010, 12:57:35 pm
by SMFHacks
4 Replies
3261 Views
Last post September 11, 2010, 06:21:10 am
by Wickedgood
4 Replies
3419 Views
Last post December 13, 2010, 07:05:12 pm
by SMFHacks
12 Replies
4865 Views
Last post April 07, 2012, 08:25:21 am
by SMFHacks
2 Replies
6466 Views
Last post June 21, 2012, 08:16:38 am
by mjindustry

+- Recent Topics

SMF Gallery Pro and AD Seller Pro now for SMF 2.1.x by SMFHacks
Today at 12:12:54 am

Pretty URLs and 2.1 by SMFHacks
February 18, 2019, 09:40:57 pm

SMF 2.1 RCI & SMF Gallery Pro 8.04 500 Errors by DragonLady
February 18, 2019, 11:49:27 am

Slide show order by SMFHacks
February 17, 2019, 06:04:54 pm

Bulk upload image problem by SMFHacks
February 14, 2019, 11:09:20 pm

Can the old store mod work on SMF 2.1? by SMFHacks
February 13, 2019, 08:58:13 pm

Is it possible for an admin user to upload photos to a nonadmin user's gallery? by 10341mouse
February 13, 2019, 11:15:56 am

[Mod]Push Notifications by shuban
February 06, 2019, 09:18:16 pm

Tinyportal and Mkportal.Which is better? by Oldiesmann
February 06, 2019, 07:23:16 pm

SMF 2.1 RC 1 Released by SMFHacks
February 04, 2019, 06:52:36 pm

Powered by EzPortal