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

XF 1.2 Forum URL redirect problem

Discussion in 'Troubleshooting and Problems' started by jadmperry, Jun 26, 2013.

  1. jadmperry

    jadmperry Well-Known Member

    I just upgraded to 1.2b3 and that went off without a hitch....with one exception.

    My xf installation is at www.pebforum.com/site. However, after upgrading, when I go to www.pebforum.com, instead of redirecting to /site, I now get this error:

    (with asterix in place of my real path).

    I haven't dealt with this issue in a few years, but, I recall that .HTACCESS is one way to redirect....I am just wondering if I screwed up a file, or if there is an admincp setting that can address this. Thoughts?
  2. Mike

    Mike XenForo Developer Staff Member

    Looks like your root index.php file is actually trying to load from XenForo, except your XF is actually in /site. I'm not sure what was in this file before, but I don't see why it ever worked with that setup.

    What did it used to do?
  3. jadmperry

    jadmperry Well-Known Member

    Used to redirect to /site.
  4. Mike

    Mike XenForo Developer Staff Member

    You should be able to put this in a .htaccess file in the root directory:

    RewriteEngine on
    RewriteRule ^$ /site [L,R=301]
    jadmperry likes this.
  5. jadmperry

    jadmperry Well-Known Member

    Thanks, worked a charm!!

Share This Page