404 Error

If you get a 404 Error when clicking on buttons that lead to /vote, /staff...etc, here's what to do:

  1. Open your web host's public_html directory

  2. Create or edit the existing .htaccess file

  3. Paste this in:

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.html$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.html [L]
</IfModule>

Last updated