I have a wordpress site running at the root of my domain. e.g http://www.example.com
as I needed site to run www url I had changed the siteurl in wp-options table to http://www.example.com now when I try to visit non www url it redirects me to www variation. this is all working fine
But now I have created a subfolder ‘app’ there which serves an angular app. Now when I visit http://example.com/app/
then it works.. but when I visit http://www.example.com/app/
it shows me wordpress 404 page. is it not possible to have this setup?
Server is aws + apache.
If you’re using an .htaccess file you can add this before the rewrite rule for wordpress index.php
It checks if the requests start with app/ and pass it without modification.
Please check angular app where to serve, means which port on run and also check your main wordpress site where?