All of a sudden my website stopped displaying all pages except home page.
I get this error when i try to open any pages or posts.
The requested URL was not found on this server.
Apache/2.4.41 (Ubuntu) Server at mysite.co Port 443
I tried making changes to apache config file
Change this text
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All </Directory>
/var/www is where my wordpress is located.
I have also tried disabling all the plugins.
And restarting Apache.
Nothing has worked so far…