Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12268
Latest: ncnclys01
New This Month: 19
New This Week: 5
New Today: 1
Stats
Total Posts: 39432
Total Topics: 6950
Most Online Today: 43
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 76
Total: 76

Author Topic: Can I redirect Pretty URL topics to another?  (Read 324 times)

0 Members and 1 Guest are viewing this topic.

Offline mattizzy

  • Newbie
  • *
  • Posts: 6
    • View Profile
Can I redirect Pretty URL topics to another?
« on: September 13, 2018, 04:15:41 am »
please I've tried

Redirect 301 /jokes/how-to-smile /comedy/how-to-laugh

it worked fine but when it redirects to /comedy/how-to-laugh, it adds ?pretty;board=jokes;topic=how-to-smile

in full, the URL shows
http://example.com/comedy/how-to-laugh/?pretty;board=jokes;topic=how-to-smile

instead of just http://example.com/comedy/how-to-laugh
« Last Edit: September 17, 2018, 02:00:05 am by mattizzy »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14739
    • View Profile
Re: Can I redirect Pretty URL topics to another?
« Reply #1 on: September 13, 2018, 10:08:04 am »
It has to be the first rewrite command in that file and at the end put [L,QSA]
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/

Offline mattizzy

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Can I redirect Pretty URL topics to another?
« Reply #2 on: September 13, 2018, 04:36:20 pm »
It has to be the first rewrite command in that file and at the end put [L,QSA]

Thanks! what Rule will I add the flag [L,QSA] to ? Redirect ?? I heard it has a different syntax as it uses mod_alias.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14739
    • View Profile
Re: Can I redirect Pretty URL topics to another?
« Reply #3 on: September 13, 2018, 04:39:54 pm »
good question I don't know that part but the redirect should be first in the file for sure.
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/
Agree Agree x 1 View List

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
3168 Views
Last post December 26, 2007, 06:09:47 pm
by RWL
0 Replies
2055 Views
Last post May 21, 2009, 11:48:42 am
by CypheR
2 Replies
6441 Views
Last post June 21, 2012, 08:16:38 am
by mjindustry
1 Replies
1485 Views
Last post June 29, 2012, 09:52:25 am
by SMFHacks
4 Replies
2628 Views
Last post February 18, 2013, 12:03:21 pm
by SMFHacks

+- Recent Topics

Error message by SMFHacks
January 22, 2019, 10:00:15 pm

[Mod]Who Quoted Me by SMFHacks
January 20, 2019, 07:55:46 pm

Upgrade to 8.0.2 by SMFHacks
January 19, 2019, 11:33:37 am

[Mod]Push Notifications by SMFHacks
January 18, 2019, 11:10:41 pm

Invitation System Query by SMFHacks
January 14, 2019, 07:36:06 pm

Transactions stopped working! Help! by Hurkulez
January 14, 2019, 10:08:41 am

[Solved]Credit Transactions not working by Hurkulez
January 14, 2019, 09:45:27 am

COMMUNITY SUITE BRANDING REMOVED by SMFHacks
January 14, 2019, 07:10:14 am

Members Can't create a Category to upload photos to by SMFHacks
January 13, 2019, 09:34:31 am

Tinyportal and Mkportal.Which is better? by SMFHacks
January 08, 2019, 02:16:22 pm

Powered by EzPortal