How can we make a react app to live in the same domain and server of the wordpress installation ?
I've. I want the root domain.com go to the react app instead of the wordpress index?
Hi! If you're using Apache, by default Apache will serve an index.html file before a index.php file if one is present. So, you should be able to simply drop your React app in the root of your webserver.
Hello! Thanks for the awesome post!
How can we make a react app to live in the same domain and server of the wordpress installation ?
I've. I want the root domain.com go to the react app instead of the wordpress index?
Hi! If you're using Apache, by default Apache will serve an index.html file before a index.php file if one is present. So, you should be able to simply drop your React app in the root of your webserver.
stackoverflow.com/questions/100024...
If you've changed the DirectoryIndex hierarchy, you can simply modify the rule in your .htaccess like so:
DirectoryIndex index.html index.php /index.php
Let me know if that doesn't work!