The theme I am using loads individual pages into the main page using AJAX, which as a result adds a '#' to the URL. For example: http://www.yourdomain.com/contact becomes http://www.yourdomain.com/#/contact
The contact page can be accessed directly without going through the main page (so without the hashtag in the URL) and the form works absolutely perfectly.
However, when accessing the contact page through the main page (with the # in the URL) the form works and sends the form via email, however the response to confirm the mail was sent, or required fields need to be filled out does not display. Instead, it tries to load a'contact/?_=' page which is Not Found.
This seems to be an Ajax conflict, or the JS file not loading due to the # in the URL.
Is there any way to resolve this? Even if it means completely getting rid of the Ajax functionality and loading an entire new page to confirm whether the form has been sent?