Medium+Wordpress: Local PC Install.

Install Wordpress with Medium plugin locally on your Windows computer.

This is a guide for:

  • Installing and setting up Wordpress and XAMPP locally on your computer.
  • Installing and using the Medium plugin to publish on Medium via the Wordpress website. This allows the owner of the Medium channel to share editor’s access via an API key.
  • The pros and cons of this method in this article.

Step 1: Install XAMPP, it’s a local server for your computer

  • Downloads are available here:
  • Save the download directly under the main C:/ path. Note: Do not save the folder in a sub-folder in the C:/ drive, save it directly under the root C:/ path.
  • Follow the steps to install the application.
  • When prompted to “Select Components”, select the components ticked below.
  • When prompted with the “Bitnami for XAMPP” page, uncheck the box for “Learn more about Bitnami for XAMPP” and Click “Next”.
  • Then Finish the installation and open the “Control Panel”.

Note: If the installation process is flawless, the Control Panel will have black and blue text updates at the bottom and you can skip Step 3. If there is red text at the bottom of the Control Panel, follow Step 2.

Step 2: Fix Port Errors.

  • Read the error text in red and close the applications using the required ports.

Note: In my case I had to close Skype to use XAMPP because it uses one of the required ports.

  • Restart XAMPP.

Note: Always right click and click “Run XAMPP as an administrator” to prevent any issues when starting the XAMPP Control Panel.

  • The text in the box at the bottom should now be blue and black.

Step 3: Start Apache and MySQL.

  • Click the “Start” buttons next to Apache and MySQL.
  • Both services should be running fine.
  • Visit your local server by visiting http://localhost in your browser.
  • A page like the one below should open.

Step 4: Set up a MySQL Database.

  • In XAMPP Control Panel, click the “Admin” button on the MySQL row.
  • A browser window will automatically open with the phpMyAdmin interface.
  • Click on “Databases” near the top left.
  • Name your new Database.

Note: Remember the name you use because you will use it again in Step 7. It is a good idea to name it something relevant to your project.

  • Click “Create” and close the window.

Step 5: Download Wordpress.

Downloads are available here:

Step 6: Extract and Save Wordpress.

  • Navigate to your Zipped Wordpress download.
  • Right click on the Zipped Folder and click “Extract All”.
  • Navigate to the wordpress folder that was within the Zipped folder.
  • Rename the wordpress folder something relevant to your project.

Note: For simplicity, it is recommended that you use the same name as database from Step 4. Remember the name of the folder for the next step.

  • Cut the folder and paste it in C:/Program Files/XAMPP/htdocs.

Step 7: Configure Wordpress.

  • In a browser go to “localhost/***” — Replace *** with the name of your folder from Step 6.
  • At the bottom of the page click the ”Let’s go!” button.
  • A screen like the one below will open.

Fill it as described below:

  • Database Name: use the name of your database from Step 4
  • Username: input the word “root”
  • Password: leave it blank
  • Database Host: leave it as “localhost”
  • Table Prefix: leave it as “wp_”

Click the “Submit” button.

Step 8: Install Wordpress.

  • Set your Site Title, Username, Password and Email.
  • Click “Install Wordpress”.

Step 9: Sign in to Wordpress.

  • You’ll be prompted to sign in.
  • Sign in with the relevant credentials.

Note: In future you can login to your website by going to localhost/***/wp-admin/ — Replace *** with the name of your folder from Step 6.

Step 10: Add Medium Plugin.

The Medium WordPress plugin enables you to cross-post new stories from your WordPress blog to your Medium account.

  • Click Plugins on the Wordpress Menu when you are logged in.
  • Click “Add New”.
  • Search for Medium.
  • Install the Plugin then click the “Activate” button when the install is complete.

Step 11: Integrate your Medium and Wordpress accounts.

  • Assuming you already have a medium account, Login to Medium and go to Account Settings.
  • You must enter a name for your token.
  • Click “Get Integration Token”.
  • Copy the integration token from Medium.
  • Go to your wordpress site: localhost/***/wp-admin/ — Replace *** with the name of your folder from Step 6.
  • Click on your username at the top right. It should say “Howdy, Your Name”… click that.
  • Your profile settings will open, scroll down to medium settings and paste your Integration Token.
  • You can also choose a default publication to cross-post to, public or unlisted status and apply other settings related to licensing and cross-linking.
  • Click “Update Profile”.

Now when you post to WordPress, the plugin should automatically also post to your connected Medium user profile.

Step 12: Start posting!

  • Your profile is now set up to cross-post to medium.
  • The downsides of this method are in a coming article.
Like what you read? Give Love4aviation OÜ a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.