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

XF 1.4 Admin Route to redirect

Discussion in 'XenForo Questions and Support' started by vinhtq, Aug 19, 2014.

  1. vinhtq

    vinhtq Member

    Hi there, are there any one here know how to redirect your.forum.com/mp4/****/ to your.forum.com/attachments/****/ with the Route Filters of Xenforo, plz give me an advice. I have try

    Find Route: mp4/{name}/
    Replace with: attachments/{name}/

    but no redirect :(

    Thank you very much
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    You've got it the wrong way round and also you probably don't need the {name} wild card.

    Try:

    Find Route: attachments/
    Replace With: mp4/
     
    vinhtq likes this.
  3. vinhtq

    vinhtq Member

    Thank you for your reply, I have tried this again, but Xenforo not redirect. I am using 1.4.0b2 :(
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    Also using 1.4 beta 2. Works fine for me.
     
    vinhtq likes this.
  5. vinhtq

    vinhtq Member

    Okay, tested again, the error is not found the attachment id, work very fine, thank you :D
     
    Chris D likes this.
  6. vinhtq

    vinhtq Member

  7. Chris D

    Chris D XenForo Developer Staff Member

    That would not be possible with the Route Filters system.
     
    vinhtq likes this.
  8. vinhtq

    vinhtq Member

    Thanks for your reply!
    So do you know any plugin or any kind of setting for xenforo for doing this? Just because I am using category as new sub-forum, and want it redirect 301 to sub domain. I am using Centos6.5 Nginx :)
     

Share This Page