WordPress permalink not found error in linux LAMP

 $sudo nano /etc/apache2/apache.conf

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteRule ^index.php$ – [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

</IfModule>

Leave a Comment

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