By jarofdevs
I updated the DNS and this is showing up:
Font from origin ‘http://45.55.210.167’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://www.jarofcomics.com’ is therefore not allowed access.
See the console in the browser and you see this error. It’s weird.
Made sure that the WP_SITEURL and WP_HOME was updated in the wp-config.php file and its still showing the IP Address.
Not sure why, is it something that needs to be change in the htcaccess? or a config in the sites-available directory in apache?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
simply put following line in your .htaccess file and change your application path http://url instead of www.url.
… RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.(.)$ [NC] RewriteRule ^(.)$ http://%1/$1 [R=301,L]
Hey there,
This error is referring to an included font that was hardcoded to your IP addresses. If you remove the IP address and place the relative path of the font, or use the domain name, the error should disappear.
It looks like you’ve already resolved it, but I wanted to update this question with this information.
Happy coding,
Jon Schwenn Platform Support Specialist DigitalOcean
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.