This topic has 20 replies, 3 voices, and was last updated 7 years, 2 months ago ago by Olga Barlow
Hi Guys,
we’ve set up a cookie-less domain and it’s working a treat except two files don’t load any more.
It’s set like this:
define(“WP_CONTENT_URL”, “https://cdn.spindizzyrecords.com”);
define(“COOKIE_DOMAIN”, “stage.spindizzyrecords.com”);
define(“WP_PLUGIN_URL”, “https://cdn.spindizzyrecords.com/plugins”);
for some reason fontawsome doesn’t load, I’m pretty sure it’s there though:
https://cdn.spindizzyrecords.com/wp-content/themes/xstore/fonts/fontawesome-webfont.woff2?v=4.7.0
Just to note: https://cdn.spindizzyrecords.com is set to the folder /wp-content
any ideas what’s going on?
David
anyone there know how to fix this?
Hi,
Try this in your .htaccess file,
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
And then still it didn’t load means, use this in your functions.php , so that we can load font-awesome from CDN,
add_action( 'wp_enqueue_scripts', 'prefix_enqueue_awesome' );
function prefix_enqueue_awesome() {
wp_enqueue_style( 'prefix-font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css', array(), '4.0.3' );
}
Let us know,
Thanks,
laranz.
Thanks Laranz, that’s working for some of the icons (search icon).
But now I see that xstore-icons is also loading, this includes the cart/bag and the search close.
I’ve tried adding this:
wp_enqueue_style( 'prefix-xstore-icons', 'xstore-icons.css', array(), '4.0.3' );
and putting a new file called xstore-icons.css in my child theme with the paths to the fonts changed to absolutes. It hasn’t worked.
Any ideas?
Hi,
Can you pass us the WP Login details in a Private content, so that I can check what is the issue. Or pass us your child theme, so that I can debug it.
Let us know,
Thanks,
laranz.
I’ve set up up Laranz, you’ll get me on skype too if you need me.
more details here…
Hello,
Check now, please.
Regards
Thanks that works but I see 302 recirects going on from urls I don’t recognise (see here: http://i.share.pho.to/bea99181_o.png)
Plus there is some odd css issues like tiny writing and menu dropdowns being very narrow.
Can I ask what changes you made?
I don’t trust those redirects, I’m scanning the site.
thanks Olga, yes, the site had malware injected but has since been cleaned.
There are still some odd css issues like tiny writing and menu dropdowns being very narrow. here’s an example:http://i.share.pho.to/3a029218_o.png
I can fix these myself but it would be better if I knew why you made them.
Can you fix them?
Hello,
I see the following code in your custom CSS http://prntscr.com/gjuug7 it make the problem with font-size. We did not add that code. Once you remove it font size will be ok.
Regards
Hi Guys, the malware is completely removed.
I’ve noticed that icons are missing in the admin too, mainly the woocommerce icons, how do I fix these?
see:
https://screenshots.firefoxusercontent.com/images/bc7a805b-eb27-4e34-8aea-c2f244556198.png
https://screenshots.firefoxusercontent.com/images/84ad5d04-8b77-42a0-b96f-dbaef8f35af1.png
Hello,
Looks like icons font is missing or is blocked. But I can’t tell you more without admin panel and FTP access. Can we use the one you provided above?
Regards
both already in this thread as you fixed this issue on the front end, I’ve added the details again in the private info box
Hello,
I can’t login to your Dashboard because of invalid username http://prntscr.com/gpw1uu
Regards
please try now (my fault, sorry)
Hello,
It’s because of the Access-Control-Allow-Origin (CORS origin) Issue http://prntscr.com/gpy7wf
Read this post to fix it http://crunchify.com/how-to-fix-access-control-allow-origin-issue-for-your-https-enabled-wordpress-site-and-maxcdn/
Problem is not related to our theme.
Regards
Tagged: cookieless, setting, templates, tricky question, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up