Wordpress Forbidden Issue

My wordpress site looks strange after I login. Clicking on most links leads to forbidden errors. I suspect I broke the permissions somehow. To debug, I'm unable to find the wordpress folder(public_html). Can someone please help me find it?
I'm using the default linode ubuntu 22.04 wordpress image.

Thanks!

3 Replies

Have you used an SFTP client to log into the server and hunt around in the Apache directory for where the WP directory might be?

We have Apache as:

/etc/apache2/sites-available

Ours domains are set up where the domain files are in:

/var/www/html/your-domain.com/public_html/index.html

Either use SSH to get there or an SFTP client with a nice GUI (which is what we do.)

i'm finding it difficult to access my website using SFTP client Filezilla after entering root as username and my ip as hostname. public html files is not on the list, do i need to setup a permission before i can be able to access wordpress files using filezilla?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct