HostGator.com » Support Portal

Must I restart Apache after changing a .htaccess file?

No, you will not need to restart Apache.

You will need to "hard refresh" your web page to see the changes.

  1. Simply go to your site and load the page that should be affected.
  2. Hit Ctrl + F5 to refresh everything (some computers require the F Lock to be on before you can use F5).

Alternatively, you can:

  1. Clear your browser's cache.
  2. Close the browser.
  3. Relaunch the browser.
  4. Load your web page again.

Now you should see your new .htaccess code take effect!

Safari users : Safari 3 and below will require you to use the cmd + R hotkey. Safari 4 and above will require that you hold shift and click the refresh icon next to your address bar.

Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment