Localhost installs but download text file whereas it should display the site
-
Hi guys,
I have some trouble with installing my website, running on wordpress, on the localhost. I have followed the 2 part of this articles, but it seems it does not work https://www.wpbeginner.com/wp-tutorials/how-to-move-live-wordpress-site-to-local-server/.
Indeed, when I want to access to my website on my localhost, it downloads a text file. I tried to figure out what is the problem but I did not find out.
In the same time when I set up the wordpress website on my localhost, it worked perfectly well.
My site is running with Salient’s theme, I don’t know if it’s helpful ?? On the other side, I was not sure about what I needed to put inside, maybe it’s the reason why it does not work,
/** The name of the database for WordPress */ define('DB_NAME', 'database_name_here'); /** MySQL database username */ define('DB_USER', 'username_here'); /** MySQL database password */ define('DB_PASSWORD', 'password_here');
Have a good Day
Kevin
- The topic ‘Localhost installs but download text file whereas it should display the site’ is closed to new replies.