Title: @font-face with incorrect absolute URL:(&#8220;https://wp-content/themes/&#8230;&#8221;
Last modified: March 20, 2019

---

# @font-face with incorrect absolute URL:(“https://wp-content/themes/…”

 *  Resolved [robert2s](https://wordpress.org/support/users/robert2s/)
 * (@robert2s)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/css-font-face-with-incorrect-absolute-url-srcurlhttps-wp-content-themes/)
 * The AMP Plugin (in paired mode) when generating the css code informs the wrong
   font-face URL.
 * The wordpress theme I developed works locally with Wamp Server, but with Debian
   it does not work.
 * **My CSS font style:**
 * >  @font-face {
   >  […] src: local(‘Open Sans Italic’), local(‘OpenSans-Italic’),**
   > url(‘../fonts/opensans-400i.woff2’)** format(‘woff2’); /* this does not work
   > on the amp version in Debian 8 */ }
 * CSS **generated** by AMP plugin ([https://www.melhoreshospedagemdesites.com/?amp](https://www.melhoreshospedagemdesites.com/?amp)):
 * >  @font-face {
   >  […] url(“**[https://wp-content/themes/](https://wp-content/themes/)**
   > melhoreshospedagem-new/assets/fonts/opensans-400i.woff2″) format(“woff2”)} }
 * This works perfectly on a local installation with Windows WampServer.
 * My other AMP Paired implementation works perfectly on a Debian. This looks like
   a BUG because of some configuration.
 * Please help me find a solution.
    -  This topic was modified 7 years, 2 months ago by [robert2s](https://wordpress.org/support/users/robert2s/).
    -  This topic was modified 7 years, 2 months ago by [robert2s](https://wordpress.org/support/users/robert2s/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcss-font-face-with-incorrect-absolute-url-srcurlhttps-wp-content-themes%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/css-font-face-with-incorrect-absolute-url-srcurlhttps-wp-content-themes/#post-11333129)
 * [@robert2s](https://wordpress.org/support/users/robert2s/) I believe this issue
   may have been fixed in 1.1-alpha. See this issue: [https://github.com/ampproject/amp-wp/issues/1797](https://github.com/ampproject/amp-wp/issues/1797)
 * Please try this this `amp.zip` build linked here: [https://github.com/ampproject/amp-wp/pull/1852#issuecomment-474681552](https://github.com/ampproject/amp-wp/pull/1852#issuecomment-474681552)
 *  Thread Starter [robert2s](https://wordpress.org/support/users/robert2s/)
 * (@robert2s)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/css-font-face-with-incorrect-absolute-url-srcurlhttps-wp-content-themes/#post-11333179)
 * Thank you very much. Beta version solved my problem!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘@font-face with incorrect absolute URL:(“https://wp-content/themes/…”’
is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [robert2s](https://wordpress.org/support/users/robert2s/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/css-font-face-with-incorrect-absolute-url-srcurlhttps-wp-content-themes/#post-11333179)
 * Status: resolved