WPHammer
Log in
  • Creating a new site
  • After adding a site
  • Re-syncing
  • Related
  • Adding Sites

    Sites arrive in WPHammer in two ways — automatically through Forge sync, or by creating a new site directly from the WPHammer interface. Both methods result in a fully manageable WordPress site record linked to its parent server.

    Sites from Forge sync

    The most common way sites appear in WPHammer is through the server sync process. When WPHammer syncs a server, it calls the Forge API to discover all sites configured on that server and imports them.

    For each synced site, WPHammer stores:

    • Identity — site name, domain, and Forge site ID
    • Directory structure — root directory, web directory, and site username
    • Configuration — PHP version and application type
    • SSL status — whether the site is secured with HTTPS
    • Database — database name and user, resolved from Forge or via WP-CLI

    Synced sites are immediately visible on the dashboard and ready for feature configuration. No manual setup is required for sites that already exist in Forge.

    Resolving database credentials

    Forge stores database associations at the server level, not the site level. WPHammer resolves which database belongs to which site by reading the WordPress wp-config.php file via WP-CLI. This sync runs as a background job and populates the database name, user, and connection details for each site.

    Creating a new site

    To create a WordPress site directly from WPHammer:

    1. Navigate to the server where you want the site to live.
    2. Select Create Site from the server actions.
    3. Provide the site domain, root directory, and database details.
    4. WPHammer submits a creation request to Forge through its API.

    The creation process runs through a deployment pipeline with ordered steps — site provisioning, database setup, and WordPress installation. You can track progress on the deployments page.

    After adding a site

    Once a site is in WPHammer, you can:

    Re-syncing

    If you make changes to a site in Forge (rename, change PHP version, enable SSL), those changes are picked up on the next server sync. You can trigger a manual sync at any time from the server or team level.

    Related