Я довольно новичок в WordPress. Я установил его в своей системе, используя это учебное пособие , все работало, и мой WordPress работал, я все настроил и выключил свою систему.когда я перезапустил свою систему и посетил http://localhost/wordpress/, я получил эту ошибку ![enter image description here](https://i.stack.imgur.com/4vswn.png)
Not Found
The requested URL /wordpress/ was not found on this server.
Apache/2.4.18 (Ubuntu) Server at localhost Port 80
После поиска в Интернете некоторое время я пробовал много исправлений, таких как переход к:
sudo nano /etc/apache2/apache2.conf
и изменение разрешений, но это не помогало мне до сих пор.
в надежде на положительный ответ от вас, ребята.
apache2.конф
Mutex file:${APACHE_LOCK_DIR} default
PidFile ${APACHE_PID_FILE}
#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
# These need to be set in /etc/apache2/envvars
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
HostnameLookups Off
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel warn
# Include module configuration:
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
# Include list of ports to listen on
Include ports.conf
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /usr/share>
AllowOverride All
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
</Directory>
<Directory /opt/lampp/htdocs/wordpress/>
AllowOverride All
Allow from All
</Directory>
AccessFileName .htaccess
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<FilesMatch "^\.ht">
Require all denied
</FilesMatch>
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
# Include of directories ignores editors' and dpkg's backup files,
# see README.Debian for details.
# Include generic snippets of statements
IncludeOptional conf-enabled/*.conf
# Include the virtual host configurations:
IncludeOptional sites-enabled/*.conf
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet