Category: Uncategorized

  • This is a post for prod

    This should show after using the CC migrate option.

  • How to Deploy Staging and Production WordPress on Code Capsules

    Setting up separate staging and production WordPress environments doesn’t have to be complicated. Code Capsules makes it straightforward with its Git-managed deployments.

    What You’ll Create

    Two isolated WordPress environments:

    • Staging: staging.blog.example.com – for testing changes
    • Production: blog.example.com – your live site

    Architecture

    Each environment needs its own:

    • WordPress Capsule
    • MySQL Database Capsule
    • Persistent Storage Capsule

    Connect both WordPress Capsules to the same GitHub repository, but different branches: staging branch deploys to staging, main branch deploys to production.

    Syncing Content

    Code deploys automatically via Git. For database content (posts, pages, settings), use WP Synchro – a free plugin that handles one-click database migration with automatic URL replacement between domains.

    Workflow

    1. Push code changes to staging branch
    2. Create/edit content on staging site
    3. Get approval from stakeholders
    4. Sync database from staging → production using WP Synchro
    5. Merge stagingmain to deploy code

    This setup gives you professional staging capabilities without the complexity of AWS’s infamous multi-service architecture diagram – just a few clicks in Code Capsules.

  • Hello world!

    Welcome to WordPress. This is your first post. Edit or delete it, then start writing!