Home Wordpress website crashes when allowoverride to All
Reply: 0

Wordpress website crashes when allowoverride to All

Aya Mohamed
1#
Aya Mohamed Published in 2017-12-06 07:57:28Z

the problem is that my wordpress website works but the pages give a 404 page not found error , so i followed these steps :

  1. enabled mod_rewrite
  2. my .htaccess file looks like this :

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

3- when i edit the value in /etc/apache2/apache2.conf

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
</Directory>

TO

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride All 
        Require all granted
</Directory>

the website crashes whenever i change the above value , i also tried to re install my apache server and nothing seems to work .

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.314348 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO