Nov 14, 2010 at 2:03 PM
Edited Oct 24, 2011 at 5:12 PM
You need to do a URL ReWrite for the
To rename your file name you need to change 6 files.
BlogEngine.Core/Page.cs <-- place holder name for file name
BlogEngine.Core /Providers/XmlProvider / Pages.cs <-- adds xml note for file name
Admin/Pages/EditPage.aspx. <-- Add text box for file name
Admin/Pages/EditPage.aspx.cs <-- add code to copy name to xml file
App_Data/pages/xml File <-- need to add <filename> to one page else you are going to get an error.
I am currently working on this my self and just about done with it can post the code or email you the files when I am done.
Or keep checking my website:
I will post it there too.
I am working on saving the pagename and using that to name the url filename.aspx instead of the title.
then adding a menu element to tell it where to put the link in the "header,left side,right side, or footer."
This way there is no hard coding of links for the NavLinks and works better than the FilterPage method because it does not use
the description to sort which effects SEO. Having "LeftSide" as part of the description of the webpage is not good.
Also doing a linkname element since sometimes you want the anchor text different from the file name in the Nav menus
Also check out the following: