Question
Ubuntu + Wordpress not accessible anymore
Hey,
After creating a droplet (with the included one-click installation for wordpress) it’s impossible for me to access Wordpress again.
It all started with installing a Wordpress theme from Themeforest that got denied by Wordpress auto theme installer, so I had to upload the files manually by (s)FTP in the provided Wordpress dir.
I had to fix SSH (login with SSH keys).
After login I did “ls” => WORDPRESS and checked the cd /var/www => this dir only contains a wp-config.php file
but when I try to access Wordpress on site I get the following error
Not Found
The requested URL /wp-admin/ was not found on this server.
and when visiting the website without /wp-admin/ I get
Forbidden
You don’t have permission to access / on this server.
I really have no clue what went wrong, anyone could help me out to get wordpress up & running again? ( @sierracircle )
Kind regards.
Maxime
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Hi Maxime,
First thing to check might be permissions. You could run these two commands:
then try to access your site. Does that make any difference?
Also:
Do you have an sftp client you can use to access your droplet folders?
What OS is your computer running?
Hi @sierracircle ,
I use Mac OSX (Yosemite). And I have a SFTP client I can use.
These are applied and don’t make any difference
OK.
do you have a user (other than root) that you use to log in via sftp?
if so, run this (which will make a link to the web folder)
Hi @sierracircle , I don’t have any other user than root.
The “troubles” started when I was playing around with adding SSH key to perform SSH from Mac OSX Terminal.
I see. It is difficult to know exactly what happened, so I am sort of going down a list to see where how things stand.
Worst-case scenario is that you accidentally deleted your Wordpress files, but I don’t think it is that.
Okay, what do you see when you sftp into your droplet and view the folder /var/www