XenForo Redirects for vBulletin

XenForo Redirects for vBulletin 1.1.9

No permission to download

djbaxter

in memoriam 1947-2022
No. I do have a list of redirects for a vBSEO forum which covers most of the indexed URLs for a specific vBSEO URL option but there were a lot of them and some options are not amenable to simple redirection - in gthat case you're basically stuck with waiting for those old URLs to drop out of the index to be replaced by the new XF URLs.

Try the information here to see if it meets your specific situation. This is for converting to native vBulletin URLs but you can then extend tghat to redirect to XF URLs:


The options there only redirect threads, not forums.

See also

https://forum.vbulletin.com/forum/v...453-redirecting-urls-after-uninstalling-vbseo

for how I resolved it.
 
Thank you all for your suggestions. I was able to make it work.
The solution mentioned here https://xenforo.com/community/threads/xenforo-redirects-for-vbulletin.142137/page-15#post-1446967 worked for me well.

Now, with fixing this, there's one more issue that I figured out. Seems like with this plugin being active and the below mentioned rewrite rule:
RewriteRule [^/]+/([0-9]+)-[^/]+\.html http://www.domain.com/forums/showthread.php?t=$1 [L,R=301]
it seems that the Route Filters aren't working well.

I have a route filter for finding threads/{threadtitle:string}.{threadid:digit}/ and replacing threads/{threadid:digit}-{threadtitle:string}/

This filter is tried with putting these fields vice-versa and enabling/disabling "Incoming URL Conversion Only" option and basically everything around this that might come to my mind.

So this is supposed to find /threads/thread-name.123 and replace it with /threads/123-thread-name

It will replace it in URL bar but it will show ERR_TOO_MANY_REDIRECTS error. I suspect this plugin is the culprit.

Any idea on how can I make these route filters work? I tried manually in .htaccess file at the end of the file before closing the </IfModule> but seems like no effect at all.

I'm using this in the RewriteRule

#RewriteRule ^threads/([0-9]+)-([a-zA-Z0-9_-]+)/ threads/$2.$1/ [NC,L]

Any help is much appreciated.
 
Any solution to route filters not working after using this addon?
The route filter I want is
Find: threads/{threadtitle:string}.{threadid:digit}/
Replace: threads/{threadid:digit}-{threadtitle:string}/

Basically, /forums/threads/thread-name.1234/ should work on /forums/threads/1234-thread-name/

The route filter mentioned above works well when this addon is disabled and doesn't work when i enable the addon.

Any help is much appreciated. Even if someone can confirm there is no way to do this, it will be helpful.

Thanks!
 

Alfuzzy

Active member
This add on was installed & activated when my site was migrated from vB to XF 2.1. Add-on Overview says add-on is compatible with XF 2.0 and 2.1. My site has been upgraded to XF 2.2. Is this add-on still relevant/compatible with XF 2.2?

Screen Shot 2022-01-27 at 3.12.34 PM.png

Thanks
 

Mr Lucky

Well-known member
Is there anyone who can help us solve the problem?
Probably if you can supply more information, e.g. how you have configured the addon. It does work, I use it on two forums so to just say it doesn't work is not enough information to get support. I would also double check you have followed exactly the instructions in the manual.

Also bear in mind you have asked just before the weekend, so I imagine developers (like everyone) like to have some time off work at the weekend.
 

@abdur7man@

Member

Probably if you can supply more information, e.g. how you have configured the addon. It does work, I use it on two forums so to just say it doesn't work is not enough information to get support. I would also double check you have followed exactly the instructions in the manual.

Also bear in mind you have asked just before the weekend, so I imagine developers (like everyone) like to have some time off work at the weekend.
You are talking on the basis that there are options in the plugins.
Addition There are no options. Just install. Without any other options.
Not as long as it works with you, you have to work with everyone
312313.png
 

Ghan_04

Active member
I've installed this addon and successfully pointed it to the import table we have from vBulletin (originally imported to XenForo 1 back in the day) but the redirects are not working and I'm not sure why. The only relevant log entry right now is from nginx showing a 404 from the request:

Code:
"GET /forums/showthread.php?t=75975 HTTP/2.0" 404

Our XenForo install is hosted at the URL root, not /forums/ but XenForo uses /forums/ for everything except the home page, which is configured to be a page node as a portal/landing page. If I try an old vB URL but remove the /forums/ section (something like: https://www.example.com/showthread.php?t=75975), it instead redirects me to the XenForo install/upgrade page. I have no idea why that would happen.

I can't create a /forums/ directory in the web root as is suggested in the manual, because this totally breaks the actual site since all forum URLs are of the form https://www.example.com/forums/ except for the landing page node that lives at https://www.example.com

What should I do here to have redirects work properly?
 

Dragonfruit

Well-known member
I've installed this addon and successfully pointed it to the import table we have from vBulletin (originally imported to XenForo 1 back in the day) but the redirects are not working and I'm not sure why. The only relevant log entry right now is from nginx showing a 404 from the request:

Code:
"GET /forums/showthread.php?t=75975 HTTP/2.0" 404

Our XenForo install is hosted at the URL root, not /forums/ but XenForo uses /forums/ for everything except the home page, which is configured to be a page node as a portal/landing page. If I try an old vB URL but remove the /forums/ section (something like: https://www.example.com/showthread.php?t=75975), it instead redirects me to the XenForo install/upgrade page. I have no idea why that would happen.

I can't create a /forums/ directory in the web root as is suggested in the manual, because this totally breaks the actual site since all forum URLs are of the form https://www.example.com/forums/ except for the landing page node that lives at https://www.example.com

What should I do here to have redirects work properly?

Hi @Ghan_04
Have you taken a look at your Route filters?
The link should be: admin.php?route-filters/
Just see if there's a /forums/ route there, you can try disabling it if so to see if that corrects the issue.
The other thing to try is disabling "Use full friendly URLs" and "Include content title in URLs", just to see if one of those may be the cause with adding the 'forums' there.

I don't have these on and the vb redirects works for mine.
 

Ghan_04

Active member
Hi @Ghan_04
Have you taken a look at your Route filters?
The link should be: admin.php?route-filters/
Just see if there's a /forums/ route there, you can try disabling it if so to see if that corrects the issue.
The other thing to try is disabling "Use full friendly URLs" and "Include content title in URLs", just to see if one of those may be the cause with adding the 'forums' there.

I don't have these on and the vb redirects works for mine.

We have no route filters.

I fear that if we disable friendly URLs, not only would things be less friendly, but current links might break.
 
Top