XF 2.0 Showthread.php drops 404 errors on ngnix

bolef2k

Member
Hey everyone!

I ran into an issue I can't resolve.

We switched from VB to Xenforo and it all seemed fine. Just recently I've noticed some huge amount of 404 errors piling up in Search Console.
Whenever the showthread.php is called, it quits with a 404 error. Example: https://www.pcmasters.de/forum/showthread.php?t=89299
If I redirect it to the new structure with the id manually, it seem work.

The server is running ngnix and I set a redirection but it doesn't work:
Code:
location ~ ^/forum/showthread.php?t=(.*) {

    rewrite ^ /forum/posts/$1 redirect;

  }

My guess is that it has some other cause.
I hope someone could help me out on this one :)

Greetings and all the best XMAS wishes to everyone!
 
Which one do you mean?


You will need to enter the config in the 301config.php file.
 

You will need to enter the config in the 301config.php file.
"This add-on is now deprecated and will no longer be maintained." And I have the mentioned XenForo Redirects for vBulletin 1.1.3

My problem is, that nginx somehow does unable to redirect the URLs, as the showthread.php does not exist, nginx should forward, right?
 
Didn't work, threw errors. I wrote my own showthread.php and now it all works out. Xenforo has no showthread.php anyway, so things are pretty simple. Thanks ^^
did you just use a blank file or what? could you post what you used? what about forumdisplay.php which also no longer exists and all those links now fail as well?
 
Back
Top Bottom