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

  • 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]
  • have you cleared the cache of .ini?

    grep is your friend.

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