Installing wordpress in Azure Web App but stylesheet does not appear

Jamie Soon 145 Reputation points
2025-04-14T09:28:41.3833333+00:00

Hi,

I uploaded wordpress installation files and testing out the installation but I'm not getting the stylesheet and other errors are showing up in the console

https://webdesigner4theworld.com/wordpress/

Any ideas? Can't the web app be set up like a normal server in a normal web host by default so that there are no problems when installing ?

Attached files. Thank you.image011

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Shree Hima Bindu Maganti 4,775 Reputation points Microsoft External Staff Moderator
    2025-04-14T10:53:43.5833333+00:00

    Hi @Jamie Soon
    If your stylesheets aren't showing up in your WordPress installation on Azure App Service, it might be due to incorrect URL paths or permissions.

    • Check Site URL and Home URL: Make sure the Site URL and Home URL in your WordPress settings are set correctly to your domain. Incorrect URLs can cause stylesheets and other assets to fail to load.
    • Permalinks Settings: Sometimes, resetting your permalinks can fix issues with asset loading. Go to the WordPress admin dashboard, navigate to Settings > Permalinks, and click "Save Changes" without making any changes.
    • File Permissions: Ensure the file permissions for your WordPress installation allow the web server to read the stylesheet files. Incorrect permissions can prevent styles from loading.
    • CORS Issues: If your assets are served from a different domain or subdomain, you might face Cross-Origin Resource Sharing (CORS) issues. Ensure your CORS settings are configured correctly.
    • Debugging: Enable debugging in WordPress to check for any specific errors being logged that can provide more insight into the issue.
      https://learn.microsoft.com/en-us/archive/blogs/azureossds/best-practices-for-wordpress-security-on-azure What are common errors for WordPress on App Service, and how can I troubleshoot? How does App Service simplify WordPress?
      let me know if you have any further assistances.
      If answer is helpful Accept the answer.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.