WordPress

How to Install WordPress on Macbook Localhost

If you want to install WordPress on your Macbook’s localhost, you’ll need to have a few programs preinstalled. Before installing WordPress on a Macbook, you need to download and install MAMP or XAMPP.

How to Install WordPress on Macbook

Before we start, make sure that MAMP is properly installed. If not, please install MAMP first.

1. Open MAMP Control Panel, and start Apache and MySQL.

2. Download WordPress at this link.

3. Extract the downloaded zip file, then move the WordPress folder to htdocs in the MAMP folder.

4. Open your browser, then type localhost/wordpress in the address bar. You will be directed to the WordPress Setup Wizard page.

5. Select the language to use, then click Continue.

6. Next, the Welcome page will appear. Click Let’s go!.

7. You will be asked to fill in the database information as below:

– Database Name: fill with the name

How to Install a WordPress Theme

1. First, open a terminal and navigate to the htdocs directory by typing the following command:

cd /Applications/MAMP/htdocs/

2. Then, type the command ‘git clone https://github.com/WordPress/wordpress.git’ in the terminal to download WordPress.

3. Next, create a new database in phpMyAdmin by going to localhost:8888/MAMP/?language=Indonesian.

4. Click the “New” button on the “Databases” menu.

5. Fill in the “Create database” field with a new database name, for example, “wordpress_local”, then click the “Create” button.

6. Then, open the wp-config-sample.php file in the WordPress folder that you downloaded earlier, then change some of the code in it according to the database name that you created earlier.

7. After that, rename the wp-config-sample.php file to wp-config.php.

8. Next, install WordPress by opening the localhost:8888/wordpress page in your browser.

9. Fill in the form that appears with the data as needed, then click the “Install WordPress” button.

How to install WordPress Plugins

How to install a WordPress plugin on a MacBook is very easy. You just need to follow a few simple steps to install it. First, go to the official wordpress.org website and download the zip file of your desired plugin. Next, open the applications folder on your MacBook and locate the “wordpress” folder.

Open the folder and go to the “wp-content” directory. Inside the “wp-content” folder, create a new folder called “plugins”. Then move the zip file you downloaded earlier to the “plugins” folder. After that, open the wordpress application on your MacBook and go to the “Plugins” menu. On the plugins page, you will see a list of installed plugins, including the ones you recently installed. Done!

Leave a Reply

Your email address will not be published.

Time limit exceeded. Please complete the captcha once again.