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

I need an htaccess redirect

Discussion in 'Installation, Upgrade, and Import Support' started by zastavra, Dec 22, 2013.

  1. zastavra

    zastavra Formally Stevez

    Guys, I need an htaccess redirect to handle my old vB pagination URLs to the new xF ones.

    Example:

    domain.com/forum/t12345-2/

    redirect to

    domain.com/forum/t12345/page-2

    Thanks!
     
    Last edited: Dec 22, 2013
  2. zastavra

    zastavra Formally Stevez

    No one? Really?
     
  3. Mike

    Mike XenForo Developer Staff Member

    zastavra likes this.
  4. zastavra

    zastavra Formally Stevez

    That helped me a lot to create what I needed.

    BTW, this is what I was looking for:

    Code:
    RewriteRule ^forum/t([\d]+)-([\d]+)/ http://domain.com/forum/t$1/page-$2 [R=301,L]
    Thanks.
     

Share This Page