https://github.com/josephfusco/multisite-root-asset-fix
Fixes broken assets, media, and ACF fields in WordPress multisite subdirectory installations by ensuring all subsites load assets from the main site URL.
https://github.com/josephfusco/multisite-root-asset-fix
wordpress wordpress-multisite wordpress-plugin
Last synced: 7 months ago
JSON representation
Fixes broken assets, media, and ACF fields in WordPress multisite subdirectory installations by ensuring all subsites load assets from the main site URL.
- Host: GitHub
- URL: https://github.com/josephfusco/multisite-root-asset-fix
- Owner: josephfusco
- License: gpl-2.0
- Created: 2024-11-14T19:34:57.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-14T20:11:29.000Z (about 1 year ago)
- Last Synced: 2025-05-07T18:57:04.824Z (9 months ago)
- Topics: wordpress, wordpress-multisite, wordpress-plugin
- Language: PHP
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Multisite Root Asset Fix
Fixes broken assets, media, and ACF fields in WordPress multisite subdirectory installations by ensuring all subsites load assets from the main site URL.
## Requirements
- WordPress 5.0+
- PHP 7.2+
- WordPress Multisite with subdirectories (not subdomains)
## Installation
### Via Composer (recommended)
```bash
composer require josephfusco/multisite-root-asset-fix
```
### Manual Installation
1. Upload to `/wp-content/plugins/`
2. Network Activate through 'Network Admin > Plugins'
3. No configuration needed
## Features
- Fixes CSS, JS, and media URLs
- Corrects ACF field paths
- Zero configuration
- Works automatically
## Contributing
1. Fork repository
2. Create feature branch
3. Submit Pull Request
## License
GPL v2 or later