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.
Page links not working after server move
Hypocrite
New
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.