WordPress 404 Error

Stuck with WordPress 404 error with pretty permalinks and white screens when uploading images? Don’t worry, we can help you out in getting the issue fixed.

These issues are quite common and may have lots of possible causes. The issue can either be on the server level or even on the WordPress level. However, some of the possible and most common causes can be the following:

mod_rewrite may not be enabled in Apache by default- Mod_rewrite is an extension module of the Apache webserver software which allows server-side manipulation of the requested URLs. Incoming URLs can be checked against series of rules to detect some particular patterns. If a similar pattern is found in the URL and when certain conditions are met, then the pattern is replaced with the provided action or string. The process stops until all the rules are executed and there are no more rules left. ‚ÄčThis is what you need to make pretty permalinks work.

This issue commonly occurs on WordPress Multisite networks. However, it can also occur on shared hosting providers or after a site migration has been done.

You can reset your permalinks through Settings > Permalinks.

If the above solutions don’t work, you might need to edit the .htaccess file manually.

# BEGIN WordPress

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteRule ^index\.php$ – [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

</IfModule>

# END WordPress

Conclusion

In short, various factors can cause WordPress 404 error with pretty permalink. With this article, our support engineers provided you with a solution to fix the issue. If you have any other issues that require support from our engineers,  get in touch with us.