none
[PHP][Web Apps] Wordpress 404 error on Azure RRS feed

  • Question

  • The Wordpress Theme X editor Cornerstone didn't shows the icons in its editor. The cause is that the Font awesome files in cornerstone folder show 404 an error. 

    Upon checking, I can see the font files exists in the directory but somehow your site can’t seem to find it.

    http://screencast.com/t/NsFwympiYv

    I also tried to add the fontawesome through maxcdn but it still isn’t working.

    
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">

    I got the advise I try checking with your hosting provider (in this case Azure) on this particular issue as it sounds like something related to your setup is causing this. Typically, this is due server configuration problems (i.e. underpowered, traceroute issues, packet loss, permissions errors, et cetera). Additionally, your host will be able to diagnose things much better due to the fact that they have a more complete view of your account and can work behind the scenes with you. If the problem you are experiencing persists after working with your host, don’t hesitate to let us know and we will be happy to assist you.

    The answer I got from the Azure team was:

    The file is physically there but file extension is not handled properly by the server.  You need to change your web config in the following way.

    <system.webServer>
    <staticContent>
    <remove fileExtension=”.woff” />
    <mimeMap fileExtension=”.woff” mimeType=”application/x-font-woff” />
    </staticContent>
    </system.webServer>

    There is more information here http://stackoverflow.com/questions/4015816/why-is-font-face-throwing-a-404-error-on-woff-files

    Thanks for your help Azure Team

    Rick Blom



    Wednesday, March 2, 2016 9:20 AM

All replies

  • Hi,

    You're welcome and I hope everything is fine now.

    Please do let us know if you have any issues.

    Regards,
    Azam Khan

    Wednesday, March 2, 2016 5:26 PM
  • For its Alternative method. go to the local server and find the apache folder, then go to the conf folder, find <g class="gr_ gr_276 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" data-gr-id="276" id="276" style="font-size:0.75em;">httpd</g>.conf file and search for the line that looks like: 

    #LoadModule rewrite_module modules/mod_rewrite.so

    Just remove the “#” sign. So it looks like this:

    LoadModule rewrite_module modules/mod_rewrite.so

    If you want to get the complete detail about fixing WordPress 404 error, you may check this guide (cloudways.com/blog/fix-404-error-on-wordpress/).


    Thursday, March 14, 2019 8:10 AM