When installing Sitecore instance, I chose a wrong physical path but it was meant to be at a different location. I realized that I get 404 error when I moved whole Sitecore folder (Web and Data, but no data since we are using Azure SQ Server). I changed the physical path for Sitecore instance but it did not work well.

Ay thoughts?

1 Answer 1


Change location of your Web folder on IIS and also update the path to a Data folder. It is configured via dataFolder variable. You can use patch file to udpate it:

<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
    <sc.variable name="dataFolder">
      <patch:attribute name="value">/App_Data</patch:attribute>
  • Thanks for your reply! Can't I just update my Sitecore.config folder instead of making another patch file instead?
    – Tama
    Oct 12, 2018 at 6:14
  • Yes you can update Sitecore.config. However making a patch file is better in the long term. If you don't want to have lots of patch files, you can have just a single one with all your customisations. Oct 12, 2018 at 6:24
  • Thanks a lot for your advice! I will keep that in mind. Upvoted for your kindness:)
    – Tama
    Oct 12, 2018 at 7:38
  • I am afraid I might be missing something, although Sitecore works very fine after moving whole files to another path.
    – Tama
    Oct 12, 2018 at 7:38
  • If you afraid that something still does not work, check the log files for any errors. Oct 12, 2018 at 7:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.