WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
W3 TC overwriting url and creating error 404 (1 post)

  1. Mr Eddy
    Member
    Posted 1 year ago #

    Hi,

    As I mentionned on another post (here : http://wordpress.org/support/topic/w3-tc-overwriting-baseurl-of-another-script ), W3 TC is rewriting urls.
    I first thought it was only when you add some script in a page/post that relates to other files.

    But it does too with my CSS when I use @font-face now.

    @font-face {
    font-family: MyFont;
    src: url(font/MyFont.ttf),
         url(font/MyFont.eot); /* IE9+ */
    }

    On the home page, the browser will look for http://www.mydomain.com/font/MyFont.ttf
    But on a specific page, post, archive page, category page, it will look for http://www.mydomain.com/some-page-or-post-url/font/MyFont.ttf which leads to an error 404 obviously....
    For example : http://mr-eddy.com/1364-bordeaux-1-by-day/

    We definitely need a workaround for this. I managed to avoid this problem with my script I wrote about by adding the pages involved to the list of pages to not minify. But I can't do the same for my entire website.

    How can we manage this ? I found some all post here : http://wordpress.org/support/topic/plugin-w3-total-cache-font-face-not-working-in-firefox?replies=21 But nothing in there helped me...

    Regards,

    Eddy

    http://wordpress.org/extend/plugins/w3-total-cache/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic