how to restore mainpage URL address?

So basically I am trying to figure out LAMP. I installed wordpress locally on the machine, let’s say, with 192.168.0.72 ip address. The site folder is in /var/www/html/wordpress/. Everything worked fine until I decided to change the local address from 192.168.0.72/wordpress to 192.168.0.72 to remove this /wordpress from the address.

So I went to Options – General and changed both Home and SiteURL and of course blocked myself out of the site. I tried a lot of different stuff and my current progress is that I had to specify my WP address in every possible document just to get to the homepage.
I added http://192.168.0.72/wordpress to each and every file possible: to the database, to wp-config.php, to functions.php.

So I get to the homepage by typing 192.168.0.72 into the browser but I don’t see the admin bar, I can’t login and I can’t access any settings page, I get 404 error. I understand that I have to restore the links beetween plugins, elements and everything else. But how do i do that?

Here’s the screenshot:
shot

Does this have something to do with Local?