How to fix enable clean URL Drupal 8 installation Centos Ubuntu

enable clean URL Drupal 8

Use below process to enable clean url drupal 8 with Ubuntu 18.04

         1.  To Enable apache mode rewrite -

         2.  a2enmod rewrite

         3.  put below code into /etc/apache2/sites-available/000-default.conf

                         <Directory /var/www/html>

                               Allowoverride All


         4.  Save the file

         5  Then Restart Apache2 service

             service apache2 restart


             systemctl restart apache2

Blog type: 

Add new comment

Authored By

Sandeep Gurjar

Hy all, This is Sandeep Gurjar am the founder of I am a Redhat Certified Engineer (RHCE) / AWS Solutions Architect-Associate and working as an system administrator since 2016.

Follow us on

Facebook​  Twitter  LinkedIn  Google+