Cannon upload/download any media or plugins on my WordPress installed on my Macbook on my LocalServer through XAMPP

[ad_1]

I’m new mac user and wordpress as well. When I try to upload any media files I get the error
“Unable to create directory wp-content/uploads/2024/06. Is its parent directory writable by the server?”

https://preview.redd.it/6k08139tb78d1.png?width=538&format=png&auto=webp&s=7e02cf036ab51f4573e3e8f7d9b10c4a756e7bea

I have the same problem with installing any plugin.

https://preview.redd.it/aec697x0c78d1.png?width=894&format=png&auto=webp&s=f72f3482a140826cf21dff4ec2d68475b643e9df

I tried to fix it giving full permission throught terminal with “sudo chmod” and “sudo chown” but it changed nothing.
I also tried to add “define( ‘UPLOADS’, ‘wp-content/uploads’ );” to “wp-config.php” but it also didn’t work out.

I have been looking around and it seems to be something with permissions on my Mac? However, I have not the slightest clue how to fix this.

I really need to get this to work, so any help you could give me would be very appreciated!

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer