Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 15 Feb 2022, 11:31
postcd postcd is offline
Join Date: Feb 2012
Apache rewrite rule to redirect VBSEO to showthread.php?1234-Thread-Title ?


in vB options i have defined Basic Friendly URLs:

before i had these URLs:

this .htaccess rewrite rule worked to redirect old to new:
RewriteEngine on
RewriteRule [^/]+/([0-9]+)-[^/]+ /showthread.php?t=$1 [L,R=301]

but it means forum is doing additional redirect (showthread.php?t=1234 -> showthread.php?t=1234-Thread-Title)

If anyone knows how to fix that rewrite rule/s, please kindly comment. Thank you
Reply With Quote
Old 30 Jun 2022, 10:57
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Join Date: Sep 2008
Real name: Michael Miller Jr
Sometimes I'm rather fashionably late, but this reply may help others moving forward:
Daddy Does Dios and Figs!
*I no longer provide vBulletin Services (No PM's, please).

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote

htaccess, rewrite

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 22:15.

Layout Options | Width: Wide Color: