n5s / wp-symfony-local-server
A set a hooks to fix running WordPress on Symfony Local Server with local domain names
Installs: 122
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 1
pkg:composer/n5s/wp-symfony-local-server
Requires
- php: ^8.0
- wecodemore/wordpress-early-hook: ^1.2
Requires (Dev)
README
A set a hooks to fix running WordPress on Symfony Local Server with local domain names.
Currenlty solve:
- Self requests (
wp_remote_get('https://domain.wip/page/')
): send them through Symfony local proxy so local TLD is resolved and set certificate to avoid SSL errors - Rewrite admin URLs: https://domain.wip/wp-admin/ -> https://domain.wip/wp-admin/index.php (to avoid redirects as much as possible)
- Admin redirects: https://domain.wip/wp-admin/ -> https://domain.wip/wp-admin/index.php
- Automatic WP_HOME constant set according to local domain
composer require n5s/wp-symfony-local-server --dev