I am trying to create new page(Section Page) using XPM with DXA website. The moment I press "Create Page" button I am getting 404 - File or directory not found. message. I check in the CMS and found page has been created successfully in CME with default content. Please suggest what could be the issue? The url for the xpm page is http://sdltridion.xxxx.xx/SDL/#app=wcm&entry=editing-site&url=%23url%3D%252Fpocarticle.html
2 Answers
Do you have a se_blank.html
file in the root of your site?
This is mentioned on the Preventing 404 errors on your staging Web site page of the online documentation.
-
This is not necessary for DXA - a route for se_blank.html is added on application startup (to the Blank action of the Page controller) Commented May 12, 2015 at 11:18
-
Thanks @WillPrice - Maybe that info will give Vivek another path to investigate. Commented May 12, 2015 at 11:33
Thanks Jonathan & Will for your inputs. After deeper investigation I have found I missed the entry of staging website url under "Session Preview" tab of Publication Target.