Removing duplicated One-Click Install files

Overview

There are several different ways to install WordPress. For example:

The One-Click Install service in the panel is the easiest option, however, it's important you ensure that WordPress has not already been manually installed into your site's directory using a different installation method. If a WordPress install already exists, the One-Click Install will proceed, but all old files will be appended with a timestamp.

For example, normal WordPress files will look like this:

  • index.php
  • wp-login.php
  • wp-settings.php

If these files already exist and you run the One-Click Install, the newly installed files from the One-Click Install will have a timestamp added. For example:

  • index.php.1555975213
  • wp-login.php.1555975213
  • wp-settings.php.1555975213

The following steps explain how to remove these duplicated files.

Removing the duplicated install files

  1. Log into your server via SSH.
  2. Navigate into your website's directory. Change example.com to your website.
    [server]$ cd ~/example.com
  3. Run the following command to delete these duplicated files. Just change the timestamp number.
    [server]$ find . -name "*.1555975213" -type f -delete
  4. Run ls -la and you'll see all of the duplicated files have been removed.

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?