Error 404:

The website hosting server will typically generate a “404 Not Found” web page when a user attempts to follow a broken or dead link, hence the 404 error is one of the most recognizable errors encountered on the World Wide Web.

The website homepage is working fine but the other pages except home page are not working showing error 404. the following code will be added in the File Manager –> Public_html –> .htaccess file means the pages will get work.

Code:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L] 
</IfModule>

Tagged in:

, ,