I have a multilingual laravel application. My url structure like that:
https://example.com/
en/paths
https://example.com/
es/paths
I installed wordpress in /public/blog
. It is working successfully.
I also installed WPML plugin in wordpress then url structure was like this,
https://example.com/blog/
en/blog-paths
https://example.com/blog/
es/blog-paths
So my first URL structure is broken. This is a situation I would not prefer for SEO.
Any advice on how to install wordpress inside Laravel application, keeping the multilingual url structure?
I want to result url structure like this instead of above schemes,
https://example.com/
en/blog/blog-paths
https://example.com/
es/blog/blog-paths