Must I Restart Apache After Changing a .htaccess File? | HostGator Support
  1. Knowledge Base
  2. >
  3. Results
  4. >
  5. Must I Restart Apache After Changing a .htaccess File?

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.