Comments on: How to Install WordPress Locally https://createawebsitenow.com Free resource for helping beginners to build, manage and grow their websites. Mon, 14 Feb 2024 11:20:42 +0000 hourly 1 https://wordpress.org/?v=6.0.1 By: Nick Sch"aferhoff https://createawebsitenow.com/install-wordpress-locally-xampp/#comment-342271 Mon, 01 Mar 2021 14:15:59 +0000 https://createawebsitenow.com/?p=14220#comment-342271 In reply to francois.

Hey Francois, sorry to hear you are having trouble. Did you copy the website files directly into the htdocs directory or into a subdirectory like htdocs/mylocalwebsite? If the former, that’s probably the problem. Each local site goes into its own folder inside htdocs. Apologies if the tutorial doesn’t make that clear enough. I will schedule it for edits immediately.

]]>
By: francois https://createawebsitenow.com/install-wordpress-locally-xampp/#comment-331133 Mon, 01 Feb 2021 21:00:14 +0000 https://createawebsitenow.com/?p=14220#comment-331133 Hello,

I want to make a copy of my production web site that uses wordpress. So I followed the steps up to step 5. There, instead of following steps 5 through 7, I decided to copy my website contents in the destination directory (htdocs). I used “rsync -rlpt” to copy the web site files.

Alas, all I get is “Access forbidden! You don’t have permission to access the requested directory. There is either no index document or the directory is read-protected.”

I checked, and absolutely all files have read permission. So, the error must be because of the “no index document”, right ? What “index document” could it be complaining about ?

Thank you for your reply,
Francois

]]>
By: CreateaWebsiteNow Editorial https://createawebsitenow.com/install-wordpress-locally-xampp/#comment-194409 Fri, 17 Jul 2020 22:32:29 +0000 https://createawebsitenow.com/?p=14220#comment-194409 In reply to Sahiba Saluja.

Hi Sahiba, it shouldn’t be asking you to log in, but try “root” as the username and leave the password field blank.

]]>
By: Sahiba Saluja https://createawebsitenow.com/install-wordpress-locally-xampp/#comment-194290 Wed, 15 Jul 2020 16:05:30 +0000 https://createawebsitenow.com/?p=14220#comment-194290 Hi! Thank you for these instructions. Everything seemed to go fine till I got stuck at step 4. When I clicked on phpMyAdmin, it didn’t automatically launch but prompted me for a username and password. I don’t remember creating one so now I am stuck at this step.
I went into the documentation to see if I could find something but I am not a developer so hard for me to understand.
Any help will be appreciated!

Thanks,
Sahiba

]]>
By: Nick Sch"aferhoff https://createawebsitenow.com/install-wordpress-locally-xampp/#comment-193381 Fri, 03 Jul 2020 13:11:13 +0000 https://createawebsitenow.com/?p=14220#comment-193381 In reply to Kris.

Hey Kris, the single quotes definitely have to be there. You should only change the text inside them. What I would advise you to do is the following:

1. Move your wp-config.php file somewhere else. Make a copy of wp-config-sample.php inside your WordPress installation and rename it to wp-config.php. Then, redo the process of inputting your database name, user, password, and hostname without changing anything else. Save and try if that solved the problem.
2. Alternatively, simply remove wp-config.php from the WordPress installation (don’t delete it right away, just move it somewhere else). Access your local URL, this should trigger the installation process once more. Run through it, giving your database credentials. Don’t worry, your content will not be affected by this.
3. If neither of this solves the issue, make a copy of your entire local installation. Then, delete everything inside the active installation except for .htaccess, wp-config.php, and the wp-content directory. Download a fresh copy of WordPress from WordPress.org and copy and paste all files from there except for the ones you left inside your local installation. If the problem still persists, run though 2. again.

Let me know if the issue persists.

]]>
By: Kris https://createawebsitenow.com/install-wordpress-locally-xampp/#comment-191356 Sat, 13 Jun 2020 10:20:58 +0000 https://createawebsitenow.com/?p=14220#comment-191356 Hi! Thanks for this. The instructions were so helpful, however, I received an error at Step 6 (changing database name and user in the php file). I changed the name accordingly exactly as was shown, but I received “Warning: Use of undefined constant” errors on both of these lines in the php code and could not progress to the WordPress Installation step. I tried removing the single quotes (”) on either sides of the database and user input names and then the WordPress Installation page showed up and allowed me to install WordPress successfully, but the “Warning: Use of undefined constant” errors remain hanging at the top of the website that is now installed on my local.

Do you have any idea how I could solve this? I’ve tried Googling, but I’m technically not a coder so I don’t really understand the jargon.

]]>
By: Nick Sch"aferhoff https://createawebsitenow.com/install-wordpress-locally-xampp/#comment-190562 Wed, 03 Jun 2020 14:25:59 +0000 https://createawebsitenow.com/?p=14220#comment-190562 In reply to Marc Freed.

Thanks for the additional comments, Marc. Glad it all worked out in the end.

]]>
By: Marc Freed https://createawebsitenow.com/install-wordpress-locally-xampp/#comment-189682 Sun, 24 May 2020 21:31:53 +0000 https://createawebsitenow.com/?p=14220#comment-189682 Suzanne – Thank you for this excellent set of instructions. It worked as you intended it. I would have appreciated a few additional instructions. I am a regular user of the Terminal and I had already been running both XAMPP and mySQL on my Macs for several years. I was unable to locate the local host URL (192.168.64.3 in my case) in the Volumes directory so I had to drag the WordPress files from the Downloads folder into their own folder in the lampp/htdocs folder. I would have preferred to “mv” them but for some reason that I could not identify, it remained invisible to me. Also, I had to start WordPress by using the actual URL (https://192.168.64.3/wp.remoteed.dev/wp-admin/index.php) instead of localhost:8080 where phpMyAdmin opened up from the Apache home page. In the end, it all worked out fine.

]]>