How to change URL prefix "/mixpost"?
In Laravel application:
Add in the .env file this:
MIXPOST_CORE_PATH=my-prefix
In Docker:
Add to the environment list in the docker-compose.yml file:
environment:
LICENSE_KEY: 'example_license_key'
APP_URL: https://your-domain.com
...
MIXPOST_CORE_PATH=my-prefix
Conclusion
After changing this prefix, you can navigate to the Mixpost dashboard with the new prefix: https://your-app-url.com/my-prefix/
IMPORTANT!
If you changed this prefix, be sure to change the callback URLs from all third-party services (Social Platforms and Payment Platforms).
Facebook callback URL example:
- Old: https://your-app-url.com/mixpost/callback/facebook_page
- New: https://your-app-url.com/my-prefix/callback/facebook_page