☰

Getting Started

Deployment Deployment - Diagnose Migrations Staging

Site Management

Backups Client Reporting Passwords Plugin Automation Plugin Management - Global Plugins & Themes - Diagnose Plugins & Themes - General Plugins & Themes - Git Plugins & Themes - Logs Must Install White Label WordPress Updates

Caching & Performance

Caching Caching - Blogs/Articles Caching - Diagnose Caching - Git Caching - WooCommerce Redis Optimize & Scale

Security

Security Security - Firewall

SMTP, CDN & DNS

SMTP SendGrid CDN CDN - AWS CDN - Cloudflare CDN - Diagnose Domains & DNS

Server & Tools

Analytics & Logs CRON Jobs Database Debug Tool Git Monitoring PHP Settings Redirects SEO Tools Server Errors sFTP SSL

Staq Billing

Staq Billing > Account Staq Billing > Client Staq Billing > Setup

Media

Media Media - Diagnose Media - Optimize

Accounts & Billing

Accounts & Billing

General

WordPress Hosting Website Diagnose Troubleshoot - Other

How to edit the wp-config.php file on Staq


On this page

    Website constants live on Staq Panel → Server → WP Config File. Add the constant in the table, then save the draft.

    Open WP Config File

    1. Open the website in Staq Panel.
    2. Click Server.
    3. Click WP Config File.

    WP Config File page showing Add Constant button

    Add or edit a constant

    1. Click Add Constant.
    2. Enter the name and value in the editor that opens.
    3. Click Add to draft.
    4. Click Save Changes on the unsaved bar.

    Add Constant editor showing name, value, and PHP preview fields

    FAQ

    I cannot add WP_MEMORY_LIMIT

    Memory belongs on PHP Config, not in this table. See Increasing Server Memory to change request memory. Platform-owned names cannot be saved here.

    How do I regenerate salts?

    Click Regenerate Salts on this same page. It signs everyone out of WordPress.

    Can I apply a constant to all websites?

    Yes. Go to Global Settings → WP Config to add constants that apply to all existing and future websites.

    Related

    Need some help?

    Open a support ticket if the control is not in Staq, or the change does not save.

    Need some help?

    We all do sometimes. Please reach out to our support team by dropping us a support ticket. We will respond fast.