After securing site, now can’t access wp-admin
-
Hello,
Some time ago my wordpress account was hacked, so I sprang into action, and following advice gleaned from different websites, started hardening my site. Then I had to leave it for other matters.
Back to it today, and I’ve discovered that although I can access and read posts (as a visitor), I can’t edit anything; I get the famous 404 error:
The requested URL /wp-admin/ was not found on this server.
Apache/2.4.7 (Ubuntu) Server at ***.***.***.*** Port 443
As you see, I’m running apache 2.4.7 on Ubuntu Server 14.04, port 443 (aiming to use https instead of plain old http). I can’t find anything useful in the apache error log, so I don’t know whether this is a permission problem, a wordpress problem, or an apache problem.
I have my wordpress in its own directory
/var/www/html/wordpress
. I have also set up an apache configurationblog.conf
, using port 80 and the DocumentRoot/var/www/html/wordpress
. So my posts can at least be delivered to the outside world.So given this, I’m not sure why apache is giving me a 404 error message from port 443. Maybe the
default-ssl.conf
sets the DocumentRoot to be 443. Could I simply change the wordpress port (in myblog.conf
) to 443?Any advice would be welcome. I have a backlog of blog posts I’d like to put up!
- The topic ‘After securing site, now can’t access wp-admin’ is closed to new replies.