Only home page loading, no picture and other pages not loading

Hi everyone, I just deployed my kirby project to azure but only the home load, other pages are not loading, but everything works on my local machine, I have checked my .htaccess but not working still

Hi John,

So what is happening? Does it give an error? Can you check the browser console if there is no errors?

There’s error if i try to load another page but not kirby error but from azure, i read an article that says .htaccess doesn’t work on azure web.config, I am still trying to figure that out

Thanks, I got it working

here is the solution for deploying kirby cms on azure:
create a file and name it as Web.config, in place of .htaccess file
then the code:

<?xml version="1.0" encoding="utf-8" ?>
 <configuration>
  <system.webServer>
    <rewrite>
        <rules>
            <rule name="Main Rule" stopProcessing="true">
                <match url=".*" />
                <conditions logicalGrouping="MatchAll">
                    <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" 
                  />
                </conditions>
                <action type="Rewrite" url="index.php" />
            </rule>
        </rules>
    </rewrite>
</system.webServer>
</configuration>