 <blockquote> <p>I had the same issue a year ago.</p> </blockquote> <ol> <li>First and foremost, make sure that mod_rewrite module is enabled in your apache server. Don't waste time for other solution.</li> <li>Secondly, that might be because of htaccess rules. Kindly, use this basic line of code for htaccess.</li> </ol> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-html lang-html prettyprint-override"><code>Options +FollowSymlinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [QSA,L]</code></pre> </div> </div> </p>