Solution to Apache2 Wordpress 404 Error
Solution to Apache2 Wordpress 404 Error
If 404 is received on post pages after migration or initial installation on WordPress sites, we need to grant the following permission in Apache settings.
Make sure Apache mod_rewrite is active.
sudo a2enmod rewrite
AllowOverride All
Example:
<Directory "/home/ubuntu/alanadicom/">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
Let's restart the service with the code below and complete our process.
sudo service apache2 restart
You can click for our Türkiye location Reseller Hosting packages.
Can't find the information you're looking for?
You have examined the knowledge base in detail, but if you cannot find the information you need,
Create a Support Ticket-
How to Open Ports in Windows?
207 2
-
How to Grant Windows Administrator Privileges?
184 0
-
How to install Webmin on Ubuntu?
803 2
-
Linux SSH Terminal Commands and Explanations
682 3
-
CentOS Stream 10 Update Commands
768 1
-
CentOS Stream 9 Update Commands
1112 1
-
CentOS Stream 8 Update Commands
621 0
-
What is FreeBSD?
765 2
-
Out: 452 4.3.1 Insufficient system storage
708 2
-
Turning Off Automatic Updates in Windows Operating Systems
822 0