The requested URL /about was not found on this server

前端 未结 20 1489
闹比i
闹比i 2020-12-23 00:05

The home page of my wordpress website seems to be displaying correctly but if you click through to any of the other pages I get the following error message:

         


        
20条回答
  •  醉酒成梦
    2020-12-23 00:15

    FWIW: I rebuilt a LAMP server from scratch and installed WordPress. I had the same issue after saving my Permalink setting to generate the .htaccess file. Turns out that mod_rewrite was not enabled. I ran across this post on Digital Ocean.
    FTA:

    First, we need to activate mod_rewrite. It’s available but not enabled with a clean Apache 2 installation.

    $ sudo a2enmod rewrite
    

    This will activate the module or alert you that the module is already enabled. To put these changes into effect, restart Apache.

    $ sudo systemctl restart apache2
    

提交回复
热议问题