How-to and Troubleshooting
7
Posts
4
Users
0
Reactions
2,606
Views
Dec 06, 2022 5:36 am
What is the solution of these problems? Any One Know Pls Tell us
Dec 06, 2022 7:01 am
I fixed it. I read an article and I had to change this:
<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>
in my apache2.conf file on my server.
as well as change my .htaccess to this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
I also changed my permalinks to /%postname%/. This also fixed my link issues. Thanks guys!
Page 2 / 2
Prev