Site logo

Archived topic

Stars Not visible on Rating

7 replies · Started by Sars on March 5, 2022

Viewing posts 1–8 of 8

Hi there,

that would mean that the woo plugin isn't loading its star font.
If you can share a link to the site i can take a look

Yep if your Right Click > Inspect a product page to open the developers tools on the Console tab you will see a bunch of 404 errors all related to the Woocommerce star.woff .... which is odd.

Does the Woo plugin need updating ?

You are awesome!

I think, It is due to the below code. I added trailing slash at the end of the urls, But forgot to add .woff

# Add Trailing Slash

RewriteCond %{REQUEST_URI}  !\.(php|html|wpress?|ico|svg|jpg|gif|png|webp|pdf|doc|css|js|woff)$
RewriteRule ^(.*)([^/])$ https://%{HTTP_HOST}/$1$2/ [L,R=301]

Do you have any idea to alter the code such that , "Trailing slash" is added only to folders and not to any other filenames.<php/.wof/html/htm......etc...> etc.,

Thank you

Ah that would do it... i am afraid that kind of thing is really not my bag. I leave rewrite rules to the server gurus lol :)

:) , Thank you for your help anyways, It is sorted now.

Glad to hear that!

This archived topic is closed to new replies.