Solution:
For anyone who is facing this issue, this is a known issue in bluehost and hostgator hosting. Basically the root reason for this seems to be that they are blocking image/js/css
or other assets in any path with contact
string.
The reason that contact form 7 assets are randomly blocked is probably also due to this same reason.
I had html websites running on my server where contact (or any other) page with assets in for example /images/contact/
folder also did not load with 409 conflict error
, due to the contact path in the assets folder.
Unfortunately I found no solution to this just like many many users out there. Check out these links: Link 1 Link 2
What is the solution?
- Well wasting time with hosting provider support is of no use. I just use hostgator/bluehost for development purpose. There are many hosting providers out there, so next time you can choose some other one, especially for live websites.
- For custom websites, avoid naming your assets folder to anything that has
contact
in it. - For
CF7
in wordpress stop loading the assets in wp-config file usingdefine( 'WPCF7_LOAD_JS', false ); define( 'WPCF7_LOAD_CSS', false );
and manually load the files in the header by separately downloading the files and importing them.