# WP- Font not (404) found/ after converting and exporting my site

**URL:** <https://forum.pinegrow.com/t/wp-font-not-404-found-after-converting-and-exporting-my-site/6632>\
**Category:** General\
**Tags:** wordpress\
**Created:** [June 27, 2022, 2:46pm UTC](https://forum.pinegrow.com/t/wp-font-not-404-found-after-converting-and-exporting-my-site/6632 "2022-06-27T14:46:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![red-rosefields](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/red-rosefields/32/5392_2.png) [@red-rosefields](https://forum.pinegrow.com/u/red-rosefields)\
**Post date:** [June 27, 2022, 2:46pm UTC](https://forum.pinegrow.com/t/wp-font-not-404-found-after-converting-and-exporting-my-site/6632/1 "2022-06-27T14:46:24Z")

</div>

Hello,  
I just started converting a website to Wordpress. Everything is ok till now except my custom font is not been found/rendered. 404! whereas it displays correctly in the non wp version of the site.  
Inspecting the element I see

 ![Screenshot 2022-06-29 at 11.13.02](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/5/5d003d524a8c0ec8ad70d957292a20ca0367ae88.jpeg)

\*[http://dune-studios.local/fonts/HelveticaNeue-Roman.woff](http://dune-studios.local/fonts/HelveticaNeue-Roman.woff)  
I noticed that the request URL is heading to an absolute address to instead of looking for the resource in a relative directory… I guess that is why it is not been founded. My style file the @font-face url is correctly set to the relative path.

Why is PG WP giving that address?  
I made sure the style.css file is been uploaded in the wp setting page.

Anyone any hint?  
Thanks

---

<div class="post-metadata">

**Author:** ![red-rosefields](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/red-rosefields/32/5392_2.png) [@red-rosefields](https://forum.pinegrow.com/u/red-rosefields)\
**Post date:** [July 1, 2022, 9:20am UTC](https://forum.pinegrow.com/t/wp-font-not-404-found-after-converting-and-exporting-my-site/6632/2 "2022-07-01T09:20:17Z")

</div>

So I needed to move my font inside my css folder.  
" Assuming your **style.css** is located in a css folder located at the root of the theme, fonts could be a subfolder of that." Otherwise if you place the font in a different subfolder outside the css folder WP won’t get to it.  
Thanks to Emmanuel @Emmanuel

---

<div class="post-metadata">

**Author:** ![Emmanuel](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/emmanuel/32/6294_2.png) [@Emmanuel](https://forum.pinegrow.com/u/Emmanuel)\
**Post date:** [July 1, 2022, 9:33am UTC](https://forum.pinegrow.com/t/wp-font-not-404-found-after-converting-and-exporting-my-site/6632/3 "2022-07-01T09:33:41Z")

</div>

Glad the problem is solved 🙂

I add that the problem is/was related to the use of **@font-face** in a CSS file and the location of the font file. Knowing that / at the start means that its looking for the font in the webroot.

Assuming your **style.css** is located in a css folder located at the root of the theme, fonts could be a subfolder of that.

Here is the illustration of the problem solved.

 ![SCR-20220629-nbi](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/a/a9f8a88ecd5f70d6f8ac5216db6b5afaad7da4cb.jpeg)
