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
![Hypocrite](https://secure.gravatar.com/avatar/06ad9d08f73901ad01f5d0ca2e5cfa67/?default=https%3A%2F%2Fvanillicon.com%2F1992576cf7a2ee9e0071e6ab4d7910fc_100.png&rating=g&size=100)
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.
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.
0
Answers
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]
grep is your friend.