Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/vitaliynosov/wp-ngrok-local-url/archive/refs/heads/main.zipDescription
Ngrok Local URL simplifies local WordPress development by automatically handling URL configurations for Ngrok tunnels.
Features
- Easy management of Ngrok tunnel URLs from the WordPress admin
- Automatic update of WordPress configuration
- Quick access via the admin toolbar
- Dark/light theme for settings page
- Full support for Ngrok Free and Ngrok Pro
How It Works
- Start an Ngrok tunnel on your local machine
- Copy the tunnel URL (e.g.,
https://your-subdomain.ngrok-free.app) - Paste the URL in the plugin settings
- The plugin automatically configures WordPress to work correctly with this URL
For Developers
The plugin modifies the wp-config.php file, adding WP_HOME and WP_SITEURL constants to ensure WordPress handles requests correctly via the Ngrok tunnel.
Installation
- Upload the plugin files to the
/wp-content/plugins/ngrok-local-urldirectory, or install the plugin via the WordPress plugin screen. - Activate the plugin through the 'Plugins' menu in WordPress.
- Use the 'Ngrok URL' menu item to configure your Ngrok tunnel URL.
Frequently Asked Questions
What is Ngrok?
Ngrok is a service that creates secure tunnels to expose your local web server to the internet.
Do I need an Ngrok account to use this plugin?
Yes, you need to have an Ngrok account and have Ngrok set up on your local machine. This plugin only manages the WordPress-side configuration.
Is it safe to use this plugin on a production site?
The plugin is designed for development environments. It is not recommended for production use as it changes core WordPress URL settings.
Is the plugin compatible with WordPress Multisite?
Yes, but additional configuration is required. Please refer to the documentation for details.
Screenshots
- Settings page for Ngrok URL configuration
- Dark theme settings interface
- Quick access via the admin toolbar
Changelog
1.0.0
- Initial release
Upgrade Notice
1.0.0
Initial version of Ngrok Local URL plugin.
License
This plugin is licensed under the GPLv2 or later. See the GPL-2.0 License for details.
Privacy Policy
The Ngrok Local URL plugin does not collect any personal data.