1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Redirect (301) Vanilla to Xenforo

Discussion in 'Installation, Upgrade, and Import Support' started by JanHoos, Aug 17, 2016.

  1. JanHoos

    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/
     
  2. Mike

    Mike XenForo Developer Staff Member

    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.
     
  3. JanHoos

    JanHoos Member

    Ah crap! Thats a shame, thanks for the answer!
     

Share This Page