• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Issue with Loading Scripts and Stylesheets on My WordPress Site

Issue with Loading Scripts and Stylesheets on My WordPress Site

  • Unknown's avatar
    abdullahq01 · Member · Aug 30, 2023 at 11:56 am
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hello WordPress Support Team,

    I hope this message finds you well. I’m reaching out because I’ve been encountering issues with loading scripts and stylesheets on my WordPress website, and I’m seeking assistance to resolve this matter.

    Currently, I’m developing a website using XAMPP for local testing before I go live with a domain. I’ve integrated my design into the WordPress environment and have added custom HTML, CSS, and JavaScript files to enhance the user experience. However, I’ve noticed that some of these resources are not loading as expected, which is affecting the overall functionality and appearance of my site.

    Here are the specific issues I’m facing:

    1. **404 Errors for Scripts and Stylesheets:** When inspecting the browser console, I’m seeing 404 errors for the script.js, styles.css, and AIFreeKit.com/styles.css files. I’ve double-checked the file paths in my HTML code and confirmed that these files are placed in the root directory of my WordPress theme. Despite this, they are not being loaded successfully.

    2. **Failed to Load Source Map:** In addition, I’ve encountered a ‘Failed to load source map’ error related to the index.js.map file associated with the Astra theme’s customizer controls. While this error doesn’t appear to be critical, I would appreciate guidance on resolving it if possible.

    I’m using the Astra theme and have installed the ‘Insert Headers and Footers’ plugin to manage scripts in the header section of my site. Despite my efforts, I haven’t been able to resolve these issues.

    I kindly request your assistance in diagnosing and resolving the problems I’m experiencing with loading scripts and stylesheets. If there are any best practices or recommended troubleshooting steps I should follow, please let me know. I’m eager to ensure that my website functions properly and provides the best user experience possible.

    Thank you for your time and support. I look forward to your guidance on resolving these issues. If you require any additional information or access to my site, please don’t hesitate to reach out.

    Best regards,
    Abdullah
    AIFeeKit.com

    Email . (email visible only to moderators and staff)
    Best regards,
    [Your Name]
    [Your Website URL]
    [Your Contact Information]

    WP.com: Yes
    Jetpack: No
    Correct account: Yes

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
    aleone89 · Staff · Sep 22, 2023 at 1:39 pm
    • Copy link Copy link

    Hello there,

    Apologies, but we can’t help with your issue directly because we don’t host your site on our WordPress.com managed hosting.

    At WordPress.com, we provide a fully managed hosting service with a custom server environment that is specifically optimized for WordPress. Our managed hosting service offers built-in security and performance improvements, along with in-house support for any questions or issues you may have with your site.

    We want you to know that you always have the option to migrate your site to WordPress.com, where we can provide you with in-house help to ensure that your website is running smoothly. We have an easy-to-use migration plugin (https://wordpress.org/plugins/wpcom-migration/), which you can use to migrate your site to WordPress.com.

    Please note that this feature is only available for Business plan users.

    We understand that moving your site may seem like a daunting task, but we believe that the benefits of our fully managed hosting service far outweigh the effort involved in migrating your site. With our optimized server environment and customized version of WordPress, you’ll have access to the best possible hosting service for your WordPress website.

    However, if you choose not to migrate your site to WordPress.com, don’t worry! We want to make sure you still receive the help you need. The good news is that the open-source WordPress forums are available to provide you with support. The folks in that forum are experts in WordPress and are in the best position to help you with any issues you may be experiencing.

    We hope this information is helpful, and please don’t hesitate to contact us if you have any questions or concerns. Thank you!

  • The topic ‘Issue with Loading Scripts and Stylesheets on My WordPress Site’ is closed to new replies.

Tags

  • .org
  • account
  • CSS
  • design
  • he-boost
  • payment
  • wpcomhelp

About this topic

  • In: Support
  • 2 participants
  • 1 reply
  • Last activity 2 years
  • Latest reply from abdullahq01

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions