A
A
Alexander2020-06-14 14:08:43
css
Alexander, 2020-06-14 14:08:43

How to return page link to wordpress elements?

I started to master LAMP, installed the whole stack, put WordPress on top. Everything started up, but it was embarrassing that when passing through the local IP, it throws it at 192.168.0.72/wordpress.
The site is in /var/www/html/wordpress

Found some stupid guide on the internet to hide the /Wordpress link from a local site. It was necessary in options - general to change the URL address to the desired one, move index.php and .htaccess to /var/www/html/, and add /wordpress/ to the link to the header file in index.php.

Everything fell when I changed the address in options - general. I tried to return everything back, taking steps in the opposite direction, returned index.php and .htaccess to /var/www/html/wordpress, fixed .htaccess, in which the link to the site folder also automatically changed.

Now I have a site template launched, but no links work, everywhere either a 404 error, or just a browser error "page not found". In the inspector console, everything is red, it is impossible to find page elements, error 404, although all files did not move from their place. How to get back the link to page elements, including .css styles, and make everything work as it was?

Screenshot:
DIdTI5K.png

It shows how the page looks now, very simplified and no links work.

Yes, I also restored the link to the site by editing the database through phpmyadmin. Installed what was originally 192.168.0.72/wordpress

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question