![]() Now above your current WordPress rules, add the following:Īdd_header 'Access-Control-Allow-Origin' '*' Īdd_header 'Access-Control-Allow-Credentials' 'true' Īdd_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'.You can find examples of most types of "default" WordPress.If you've installed WordPress in a directory other than the root path, for example, /public_html/mycoolsite rather than just /public_html.htaccess than the current multisite install. Which version of WordPress you originally started with, i.e, if you started your site on WordPress 3.4 or below with a multisite install, you'd have a different.If you're using a single site or multisite install.Your one may look different depending on a few factors, which are. htaccess for a single site install, installed in the root of a domain. The above image is the default WordPress. Once you've got it open, it should look like this: htaccess file either via FTP or your cPanel's file manager. htaccess method, rather than the nf method, both work perfectly fine and neither one is better than the other. In this section, we'll cover enabling CORS on apache, this article will cover the. Now that you know which web server you use, follow the steps below depending on the web server suitable for your case: Enabling CORS on Apache Search for the Web Server under the Hosting History to find out the web server that the website uses. ![]() Add the URL or domain of your website to the tool to show the details of the website.Go to Netcraft website by clicking here.You can use the Netcraft website to find out about your server. There are many tools to find out which web server your hosting service provider use. Below, we'll cover how to enable CORS on Apache, Nginx & Microsoft IIS, first though, we'll cover how to find out what technology your site is running on if you don't already know. Click here for more information about the CORS.Įnabling CORS is a relatively simple and straightforward. To fix the problem you need to enable a server configuration called CORS. The font icons use text-based fonts to show icons instead of images, this ensures that you can use all the font related CSS codes to make the icon bigger or smaller or change the colors without the need of changing an image.Ī common problem related to Font Awesome icons missing is due to the domain being requested outside the domain of which the resource originated. Fontawesome is a library of font icons which you can use on your website. X/Pro themes and the standalone Cornerstone plugin use the Font Awesome library to visualize icons.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |