WordPress Studio: Frequently asked questions
On this page you’ll find answers to common questions about the WordPress Studio app and certain features like the WordPress Studio Code and WordPress Studio Sync.
As a reminder, WordPress Studio is an open source project that welcomes all contributions. If you spot a bug or the WordPress Studio feature you need is missing, we have some options:
- Reach out to our Happiness Engineers for specific questions about using WordPress Studio.
- Open an issue in the repository to report bugs, suggest ideas, or request new features.
General FAQs
Here are some answers to common questions about WordPress Studio:
How can I export a theme I created in WordPress Studio?
Themes created in WordPress Studio are the same as themes created on traditional WordPress sites. You can export your theme by following these steps:
- Select the local site within WordPress Studio.
- Ensure that your site is already running.
- Click the site preview’s address bar and choose WordPress Admin.
- In WP Admin, go to Appearance → Editor.
- Once the site editor loads, expand the editor by clicking anywhere on the site preview.
- Click the Options menu button in the top right of the screen, represented by the ellipsis icon (⋮).
- Click Export, and your browser should begin downloading a
.zipfile of your theme.
You can then upload your theme to any live or staging WordPress site by following these instructions.
How can I publish my WordPress Studio site so that it’s publicly available?
While preview sites are intended for sharing with clients and gathering early feedback for up to seven days, a hosting plan is required to make your site permanently accessible.
To publish your local site on WordPress.com, follow the steps outlined in the WordPress Studio Sync doc.
To publish your local site on another WordPress host, follow the Import and Export guide to create an export of your source site. When the export is ready, you can import that content to the destination site, for example, following the Manually Restore Your Site from a Jetpack Backup File on WordPress.com guide.
How can I manage the WordPress Studio site’s SQLite database?
WordPress Studio uses SQLite instead of a MySQL server. Each site’s database is a single file, wp-content/database/.ht.sqlite. Avoid editing that file with other tools, such as a terminal client or a SQLite app: it’s easy to corrupt it, break the schema WordPress expects, or end up with a database that won’t move to MySQL later.
Use WordPress Studio’s built-in phpMyAdmin instead, adapted to work safely with SQLite. In the site menu, choose Open in → phpMyAdmin to open it in your browser, or Go to → Database to open it in the site preview. There you can browse tables, run queries and edit data.
How can I use WordPress Studio with the MySQL server of my choice?
WordPress Studio has built-in support for a SQLite database, but you can use the MySQL server of your choice, e.g., Homebrew or Docker, to test your site with different database engines.
If you have a local site already configured to work with a custom MySQL server of your choice, you can add it to WordPress Studio. If the site files include a wp-config.php file, WordPress Studio will skip the SQLite database setup and use the already configured database.
If you have already created a site in WordPress Studio, and want to switch SQLite to the MySQL server of your choice, follow the steps below:
- Stop the site.
- Open your WordPress Studio’s site directory.
- Navigate to the
wp-contentdirectory and delete thedb.phpfile and thedatabasedirectory. - Navigate to the
wp-content/mu-pluginsdirectory and delete thesqlite-database-integrationdirectory. - Update
wp-config.phpfile and fill in your MySQL server’s credentials. - Start your MySQL server.
- Start the WordPress Studio’s site.
- Open the site.
How do I select the PHP and WordPress versions for my site?
Choose them when you create the site, on the form where you name it. To change them later, choose Settings from the site menu: the WordPress version is on the Settings page, and the PHP version on the PHP page. Click Save at the top of the dialog to apply the change. See Edit a site.
Why isn’t the “Open In” button available for my preferred app?
The Open in menu only lists apps WordPress Studio supports and finds on your computer. “Open in” menu lists the supported code editors and terminal applications.
- On macOS, an editor or terminal must be in your Applications folder (
/Applicationsor~/Applications). - On Windows, WordPress Studio looks in each app’s usual install folder.
- On Linux, the app must be on your
PATH.
If you haven’t chosen a Code editor in Settings → General, the menu shows the first supported editor it finds, and no editor if none is installed. If you haven’t chosen a Terminal, it uses Terminal on macOS, Command Prompt on Windows, and your system terminal, such as GNOME Terminal or Konsole, on Linux.
How can I make WordPress Studio faster on Windows?
If the Real-Time Protection Service of Windows Defender is enabled on your machine, it may slow down the process of creating and starting a site, particularly when running PHP files of WordPress.
This is why WordPress Studio prompts you to “speed up site creation” when you first open it on Windows, so an exclusion policy can be added to the Real-Time Protection Service.
You can add this exclusion policy manually by choosing Help → How can I make WordPress Studio faster? in WordPress Studio. This menu item is only available on Windows.
How can I regenerate my thumbnails?
If some thumbnails are missing after importing your site, you can regenerate them by first installing the WordPress Studio CLI, and then running the following CLI command:
studio wp media regenerate --yes --only-missingHow can I access WordPress Studio logs?
When publishing, pulling, importing or exporting fails, WordPress Studio offers to open its logs, and may ask you to contact support. You can also open the current log file at any time by choosing Help → Open Application Logs. The logs folder is:
- macOS:
~/Library/Logs/Studio - Windows:
%APPDATA%\Studio\logs - Linux:
~/.config/Studio/logs
Where do emails sent by my site go?
WordPress Studio saves them instead of sending them. To see them, choose Go to → Email from the site menu, which opens the site’s email folder. See Site email.
Is it possible to change the port or URL of my WordPress Studio site?
By default, WordPress Studio sites are assigned a unique port starting from 8881. For example, your first WordPress Studio site uses the URL http://localhost:8881, and your second site uses http://localhost:8882. While the port of localhost URLs cannot be modified from WordPress Studio, you can always use a custom domain instead of localhost.
How can I use a tunneling tool (ngrok) with WordPress Studio?
You can use WordPress Studio for local WordPress development that requires incoming connections by setting up a tunneling tool like ngrok. ngrok, which is free to use, redirects external requests to your localhost, making your site accessible from the internet. This is especially useful for plugins like Jetpack, which default to offline mode when running locally. By using a tunneling tool, your local site can reconnect to WordPress.com, which unlocks the full capabilities of Jetpack and creates a more realistic development environment.
Follow the steps below to set up your site for this workflow. Begin by starting your local WordPress Studio site and setting up the tunneling tool.
If your site uses a local domain in the form of localhost:port:
- Start your WordPress Studio site and note its port (e.g.,
8883). The port is shown in the site preview’s address bar. - Open a terminal and set up ngrok if you haven’t already.
- Set up a tunnel to expose your local site using the following command:
ngrok http 8883
If your site uses a custom local domain:
- Start your WordPress Studio site and note the domain (e.g.,
my-wordpress-website.wp.local). The domain can also be found under Local domain on the Settings page of the site’s settings. - Open a terminal and set up ngrok if you haven’t already.
- Set up a tunnel to expose your local site using the following command:
ngrok http --host-header=my-wordpress-website.wp.local http://my-wordpress-website.wp.local
When your tunnel is active, make sure to note the tunnel URL and update it in your WordPress Studio site’s WordPress configuration file.
- Copy the generated tunnel URL. It will look something like this:
https://6xb2-12-13-14-15.ngrok-free.app - Update your WordPress configuration (
wp-config.php) by adding:define( 'WP_SITEURL', 'https://6xb2-12-13-14-15.ngrok-free.app' );define( 'WP_HOME', 'https://6xb2-12-13-14-15.ngrok-free.app' ); - Refresh your site in the browser.
Your local WordPress Studio site should now be accessible through the tunnel URL. If it doesn’t redirect automatically, clearing your browser cache may help. You can also access the site directly by using the generated tunnel URL.
The local URL shown in WordPress Studio will not update to reflect the new tunnel URL, and since the ngrok URL changes each time you restart the tunnel, you will need to update the wp-config.php file accordingly.
To reset your local site, stop the tunnel in the terminal and shut down the WordPress Studio site. Then, remove the changes made to wp-config.php and restart your WordPress Studio site. It will now revert to the localhost or custom domain shown under Local domain on the Settings page of the site’s settings.
How can I export my site for use on the WordPress playground website?
To import your local site to playground.wordpress.net, create a ZIP file from the contents of your site folder and use the Site Explorer to import the ZIP in your browser.
Please note that top-level entries like wp-config.php should live at the root of the archive. To accomplish this, select all files and directories inside the site folder when creating the ZIP file instead of the site folder itself.
WordPress Studio Code FAQs
Here are some answers to common questions about WordPress Studio Code. Please review the WordPress Studio Code doc for step-by step instructions and helpful tips for using this feature.
What languages does WordPress Studio Code support?
You can talk with WordPress Studio Code in any language you prefer.
Can I use WordPress Studio Code without a WordPress.com account?
Yes, with your own Anthropic API key. Connect Anthropic in Settings → AI Providers in the desktop app, or use the /api-key command in the terminal. Usage is billed through your Anthropic account. See Use your own Anthropic API key.
To use WordPress.com AI credits instead, log into WordPress Studio with your WordPress.com account. Some features, such as image generation, preview sites, and publishing to WordPress.com, also need a WordPress.com login.
Is there any cost to use WordPress Studio Code?
WordPress Studio Code runs on AI Credits. Every account starts with a free allowance for the Fast tier; after that, or to use Balanced and Strong, you buy more. With your own Anthropic API key, Anthropic bills you instead. See How AI Credits Work.
How many prompts can I use per month?
There’s no monthly limit. Each prompt uses AI Credits, and when you run out, AI responses pause until you add more. Your local sites keep running normally.
Where can I give feedback about WordPress Studio Code responses?
You can write into support to share specific feedback about WordPress Studio Code responses.
WordPress Studio Sync FAQs
Here are some answers to common questions about the WordPress Studio Sync feature. Please review the WordPress Studio Sync doc for step-by step instructions and helpful tips for using this feature.
Why don’t my local users appear on the WordPress.com site after publishing?
When publishing, WordPress Studio exports all your content and your entire database except for the wp_users and wp_usermeta tables. This ensures that the Jetpack-powered features on your WordPress.com website (like single sign-on or image optimization) continue working after you publish.
Last updated: November 02, 2026