How to enable Cross origin resource sharing on the wordpress website ?

[ad_1]

I’ve to access the wordpress website through a webview in an android application. The website itself opens up but I can’t sign in with my credentials. When I try to do it the page crashes and I’m brought back to the login page. I’m using the WordPress hosting service for my website. I tried to install a plugin in my wp-admin for my website Enable CORS but it did not work. I also tried to add allow cross origin tags. Followed a guide and tried to edit the .php files but it did not work. I’m guessing that probably the server where the website is hosted itself is not allowing cors probably because it’s a shared server. How can I fix this? Would appreciate any temporary solutions too.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer