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

XF 1.5 Performance difference for PHP redirects vs htaccess?

Discussion in 'Installation, Upgrade, and Import Support' started by Peace, Dec 15, 2015.

  1. Peace

    Peace Active Member

    I'm migrating from vB4 and I'll be importing with retained content IDs, so I can use htaccess redirects.

    I've also come across PHP redirects.

    Is there any advantage, performance or SEO or otherwise, to choosing PHP redirects vs htaccess redirects?

  2. Fred.

    Fred. Well-Known Member

    htaccess redirects are faster and the right way to do SEO wise.
    You can also move them to httpd.conf for even better performance.
    Peace likes this.
  3. ichpen

    ichpen Well-Known Member

    +1, doing redirects before you hit PHP will always be faster
    Peace likes this.

Share This Page