My problem is in my wordpress site only default permalinks is working.. When I change permalinks all pages become not found.. only home page is showing.
When I chang
In case you are on Ubuntu, edit the file /etc/apache2/apache2.conf (here we have an example of /var/www):
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
and change it to:
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
also check Apache configuration file for your website /etc/apache2/sites-available/your_site.conf:
AllowOverride None
and change it to:
AllowOverride All
You need to do sudo a2enmod rewrite to enable module rewrite
then,
sudo service apache2 restart
I hope this helps you!