Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Page links not working after server move

HypocriteHypocrite New
edited November 2011 in Vanilla 2.0 - 2.8
We moved our Vanilla installation from an UNIX server to a Windows server.

After the move none of links on the site work. I get a 404 error.

The .htaccess file seems to be working because index.php is not visible.

What could I do to troubleshoot the problem?

The forum is working fine on the old installation.

I have also tried to upgrade to the latest version. The upgrade was successful.

I am running the latest 2.0.18.1 version.

Answers

  • Options
    UPDATE:
    I tried to disable the pretty URLs in the config file and now the links work.

    My .htaccess file looks like this:
    # Original
    # If you modify this file then change the above line to: # Modified

    RewriteEngine On
    # Certain hosts may require the following line.
    # If vanilla is in a subfolder then you need to specify it after the /.
    # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
    RewriteBase /discussions
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
  • Options
    have you cleared the cache of .ini?

    grep is your friend.

  • Options
    ToddTodd Chief Product Officer Vanilla Staff
    Windows only supports .htaccess if you are using apache.
Sign In or Register to comment.