XF 1.5 Redirect (301) Vanilla to Xenforo

JanHoos

Member
Hello!

Another question, how can I redirect the URL's from Vanilla to Xenforo. I've read some topics around here about the subject, but I can only find vBulletin and some PHP ones. They have a different URL composition as Vanilla so thats why I wasnt sure how I should format my mod rewrite.

I've got Vanilla in a subfolder forum
and Xenforo in community

Heres an example URL:
Vanilla URL: http://www.airsoftclubnederland.nl/forum/#/discussion/8/nieuwe-forum
Xenforo URL: http://www.airsoftclubnederland.nl/community/threads/nieuwe-forum.3/
 
You're definitely going to need some custom work for that. The Vanilla URL has the important part of the URL in the hash, which isn't actually sent to the server so you can't do server-side processing. You'd need to create some JS that would read that and then pass it to the server, which could determine the URL, return that to JS and then trigger a redirect.
 
Top Bottom