XF 1.5 Redirect Assistance

SniperCap

Member
Hi All, sorry for probably posting another thread that has been previously answered however I am hoping someone may be able to help. In a nutshell I have an issue where I have obviously stuffed up with my redirects after a migration from VBulletin.

So to sum it up, my site was a long term (2mil+ posts), heavily customised VB site that was just too old and hard to manage. Mobility was an issue, posts were hard to do and a few other issues which is why I went with Xenforo which I am happy with. Things seem to be going well until one of the members had a rant on a few things (as they do, no one likes change) on that Google search results just return them to the home page rather than the thread with content. I have submitted a request to recrawl the site, but we know search engines...

For the technical bits...
I have a 301 redirect setup via .hta (set via cPanel Redirect option) as if I don't, the forum doesn't load, it just shows the good old file structure. I suspect this is where half my issue is.
I have followed the redirection instructions here -> https://xenforo.com/help/import-redirection/ with the add-on from here -> https://xenforo.com/community/resources/vbulletin-4-x-url-redirection.120/ which sit in my forum home folder and the 301 script here points to my archive import log table in the database

Obviously I am doing something wrong and would really appriciate some advice from someone who knows better.

Cheers
Stu
 
To do any troubleshooting, we'd really need examples of old URLs that don't work (and what the new URL is).

Thanks for the swift reply @Mike. The Forum is "Aussie Pythons and Snakes (https://www.aussiepythons.com)". The .hta redirects this to "https://www.aussiepythons.com/forum/" otherwise you just end up with the folder tree.

Ill use one of my more popular threads called "The Jungle Thread"

Heres the old link still shown in Google ->https://aussiepythons.com/forum/showthread.php/218845-The-Jungle-Thread/
Here is the link as it currently stands in the new forum -> https://www.aussiepythons.com/forum/threads/the-jungle-thread.219367/

I forgot to mention that I have friendly URLs turned on too and turning them off makes no difference.

Please let me know if I can offer anymore info.
Stu
 
Right, so redirecting back to the forum would generally indicate that the thread can't be found in the import log. I'd double check that you're pointing at the correct file -- it may be worth showing your 301config.php file here to confirm.
 
Hi Mike, here is the details.

So at the forum root (/public_html/) I have an .htaccess file (screenshot 123) with the following contents. The forum directory with all the files is here and where things redirect to.
123.webp

In the forum directory is the "301config.php" file with the contents in the 1234 screenshot.
1234.webp

I know this is a really noobish question so I do apologise.
 
Ahh, the 2 lines you changed are still commented out. Given that your redirects are in the same directory, you don't need to change $fileDir, but you do need to remove the leading "//" from the IMPORT_LOG_TABLE line.
 
Back
Top Bottom