Cannot access wp-admin
-
Hello everyone,
I have a problem while trying to access mysite.com/wp-admin it gives me this error
Cannot access /var/www/domains/mysite.com/wp-admin/but when I try the full URL mysite.com/wp-admin/index.php then I can login and redirects me to the dashboard,
I have installed WordPress in a VPS runnin LAMP
Here is my Default.conf setting for Apache2
<VirtualHost *:80>
ServerAdmin Soft@live.com
ServerName mysite.com
ServerAlias http://www.mysite.com
DocumentRoot /var/www/domains/mysite.com
DirectoryIndex index.php
CustomLog /var/www/logs/mysite.com.log combined
ErrorLog /var/www/error_logs/mysite.com.log
<Directory /var/www/domains/mysite.com/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>and my second problem is that when I visit my site, there is an Inde.html file, that loads first, the wordpress index.php is not the default index page,even tho I tried to set the DirectoryIndex index.php but still index.html loads
can someone help me to fix this ?
The topic ‘Cannot access wp-admin’ is closed to new replies.