Bug Archive redirects to dbseo.php?

Status
Not open for further replies.

sysnative

Customer
Hi Fillip H.,

We're trying to redirect all archive posts to the correct threads, as we're disabling the archive.

This is the rewrite rule we've added to .htaccess:

RewriteRule ^forums/archive/index.php/t-(.*)$ http://www.sysnative.com/forums/showthread.php?t=$1 [R=301]

We want this URL:
http://www.sysnative.com/forums/archive/index.php/t-11721.html

To end up at this URL:
Windows System Restore - Create a Restore Point (Windows 10, 8.1, 8, 7 & Vista) - Sysnative Forums

Where it'll then direct to the correctly rewritten URL:
Windows System Restore - Create a Restore Point (Windows 10, 8.1, 8, 7 & Vista) - Sysnative Forums

At the moment, somehow the URL ends up at www.sysnative.com/forums/dbseo.php?t=11721

Any way round this? We want to remove the archive, but the links need to direct to the correct thread rather than the homepage.

Thanks,
Will
 
Code:
RewriteRule ^archive/index.php/t-(.*).html$ http://www.sysnative.com/forums/showthread.php?t=$1 [L,QSA,R=301]
works for me, assuming you put this in the .htaccess file found inside /forums/
 
In v2.0.2, these redirects have been added automatically, this .htaccess edit is no longer needed :)
 
Status
Not open for further replies.

Legacy DragonByte SEO

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
7,192
Customer rating
5.00 star(s) 1 ratings
Back
Top