Problem with loading of side pages on localhost

After the installation of wordpress on my localhost I had a problem when I wanted to check my side pages on localhost.Page not found constantly popped up.Only the main page could be loaded and checked.I figured out that I did not connect localhost properly and the solutions online were mostly unadequate.For someone who just started with usage of these technologies can be very irritating since the solutions are prety simple but yet you loose a lot of time trying to solve it . Bellow the solution is attached


No answers yet.