The Requested URL Was Not Found On This Server.

The Requested URL Was Not Found On This Server.

How to Fix Error 404 Not Found on Your WordPress Site. Error 404 was not found in many of the potential errors you see on your WordPress site. But when you or your visitors try to browse your site the error 404 message is not found.

This is the last thing you want potential customers to see for the first time from your brand. The 404 error may also indicate that something has changed or moved and you need to add a 301 redirect for SEO.

There are many ways to solve this problem, for now most useful way is adding below given code in your .htaccess file.

Steps to solve this Problem (Add this code)

Step 1:

Log in your web host account.

 And go to cPanel.

Step 2:

In cPanel go to Files section, and open File manager.

In File manager, open “public_html”

Step 4:

In “public_html”  Folder, on the top right corner, you will see, settings

Click on the settings and choose and make tick mark on “Show Hidden Files (dotfiles)”

And click on save button.

Step 3:

Now, find “.htaccess” file and Edit it.

Finally, copy below given code and paste this code at end of the file.

and save it.

RewriteEngine On
RewriteCond %{REQUEST_URI} ^/system.*
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?/$1 [L]
Sharing is Caring

2 thoughts on “The Requested URL Was Not Found On This Server.”

Leave a Comment

Your email address will not be published. Required fields are marked *

Go Up↑