n5s / wp-symfony-local-server
A set a hooks to fix running WordPress on Symfony Local Server with local domain names
v1.2.0
2025-01-03 10:45 UTC
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