Generate feed into subdirectory?
Generate feed into subdirectory?
Is there a way to change where the Google Base/Yahoo/Shopping feeds are placed? We're running Plesk on a Windows server which does not allow write premissions to the root directory by the ASP.NET worker. Is there a way we can generate the feeds into another directory? We can manually move them to the root, just not generate them there.
Re: Generate feed into subdirectory?
Give a try Edit the *.cs files for you feed pages in admin and location following method
in then in this method where options are intialized you pass your custom path as well for example something like
Code: Select all
GetPostedOptions()
Code: Select all
options.FeedDataPath = Server.MapPath("~/App_Data/YourFeedFolder");
Re: Generate feed into subdirectory?
Yes! Fantastic! Works like a charm. Thank you mazhar!