WordPress URL Redirect (Error 404)

Solution:

Try adding an exclusion in rewrite engine of the .htaccess of your website.

Try adding something like this:

RewriteCond %{REQUEST_FILENAME} !-d or RewriteCond %{HTTP_HOST} !yourApp

WordPress ignores urls with existing folders/files so basically you shouldn’t having problems like this but you may try editing your .htaccess.