Custom Permalinks Return 404 Errors

Custom Permalinks Return 404 Errors

14/05/2018

If you are getting 404 error when accessing pages, please see the information below.

Symptom: I just setup my Wordpress installation and my awesome new Avada theme. I went into Admin -> Settings -> Permalinks and selected something other than the default option. But now when I try and navigate to a page, it just returns a generic "404 Error - Page not found" message. What gives?

Likely causes: First, this is not a theme issue. The problem involves your core Wordpress installation, or your web server configuration. That said, there a few things that can cause this to happen:

    • Apache II mod_rewrite module is not being loaded by your web server.
    • Your Wordpress .htaccess file is missing or not writeable by the web server.
    • Apache II is configured to disallow overrides by your .htaccess file.

    Solutions: There are several solutions to this issuse, please see the bulleted list below.

      • First make sure that mod_rewrite is installed and enabled on your Apache II web server, and also make sure that the webserver allows your .htaccess file to override the server directory configuration.
      • Make sure that your Wordpress .htaccess file is present in your Wordpress installation. If it is not, simply create a blank file called .htaccess and upload it to your Wordpress installation folder.
      • Set permissions on your .htaccess file that allows your web server to write to the file - CHMOD 666.
      • Go back and set your permalinks option to the "default" option and save the change. Then set it to something other than the default and save the change.
      • If your .htaccess file is writeable by the web server, it will contain new directives that sets rewrite rules for your custom permalink option.
      • If it is not writeable, you will see a message below your permalinks screen that contains the rule set you need to add manually into your .htaccess file, save it, and upload it back to the Wordpress installation folder.
      • Check to see if you can navigate from your front page menu links without error.
      • If the issue persists, contact your web host support team for further assistance.
      For additional information on working with permalinks in Wordpress, visit the Wordpress Codex

      Recent Posts

      Recent Tweets

      For privacy reasons Twitter needs your permission to be loaded. For more details, please see our Privacy Policy.
      I Accept