This project is read-only.

2 Questions

Topics: Controls
Nov 14, 2010 at 1:14 PM

Well, I am planning to start a podcasting site and thats how created this new web adress with BlogEngine on it. I am not a developer and hence, I am facing a lot of challenges in making even the slightest customizations.

Without much delay, let me ask my questions - 

1. How do I change the URL structure in my Blogengine site? I tried to search in the discussions page, but nothing gives me the step to do it. (or even the filename, I need to edit). 

For eg: Instead of this -, 

I need<category>/articleid>/<articlename>.aspx

2. How do I add MUSIC widgets to my blog posts? Just curious, is there an option where I can to know, how many have played the mp3 file?
Thank you in advance for answering this.



Nov 14, 2010 at 3:03 PM
Edited Oct 24, 2011 at 6: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:

Java Blog

Nov 14, 2010 at 3:14 PM
Edited Oct 24, 2011 at 6:58 PM

Also read this past discussion:


I should have the code ready in about a week.  I had it working and then I broke it so I have to start over

could not figure out how to do the dropdown menu for the PageMenu and it made the whole thing not working any more.

Just going to do a textbox for now for the PageMenu and that will work temporarily.


So I am restarting it.

Nov 14, 2010 at 3:53 PM
Edited Oct 24, 2011 at 6:58 PM

I found some back up code that I had and it works.


So I have the code to rename the pagename to what ever you want.


I can email you the zip file of the code.  If you like.


Or you can wait till I finish it completely and test it out ?


Right now it only renames the page name and the URl     like  www.sitename,com/pages/PageName.aspx   <-- No Dashes and etc or title name.


Still working on the menu part through.


You can email me at

Nov 14, 2010 at 4:22 PM

Thanks for your quick response buddy, Let me wait for the same. Thank you!

Nov 16, 2010 at 5:52 PM
Edited Oct 24, 2011 at 6:58 PM

Here's another link about URL Rewrite:


For eg: Instead of this -, 

I need<category>/articleid>/<articlename>.aspx

Nov 16, 2010 at 11:52 PM

I am done with the coding for the PageLinkMenu  now I just got to test it out locally and then I will upload it to my website and test it out there then it will

be ready for release.  


Should be ready in about 2-3 days.  

Nov 17, 2010 at 3:09 PM


Just submitted the fork for the code.  

I posted a message about it here:


If you like to test drive it live with out downloading it just email me at

and I will make an account for you to try it out with.

See it live:

Hope this is useful for you,


Brian Davis

Nov 17, 2010 at 3:43 PM

Isn't this feature already in BE?  For pages and posts, you can edit the Slug, which will change the URI of the page.  Or is this change something different?

Nov 18, 2010 at 4:15 AM

Different because when you change the name in the slug it adds "-"  in the filename.  Like This-is-a-test-page.aspx vs  Thisisatestpage.aspx


There are sometimes you want the filename diffrent from the title and don't need "-" in the filename.


Also BE does not have where you can "Soft" code the location of the link.  For pages you have to "Hard" code the links into the MasterPage.

Or use the FilterPage Control but it filters based on the "description" so that again affects SEO by having "LeftSide" in your title tags for your links.


When search engines index your site it will include "LeftSide" Link Info when indexing which you do not want.


Check it out live:


If you want to test drive it email me at and I will create you an account to be able to test this feature.


Hope this helps,


Brian Davis

Nov 18, 2010 at 5:33 AM

Compare these two websites:                (Made with out the PageLinkMenu)                         (Made with the PageLinkMenu)


Hover over the links on the  on the left side see in the description "LeftSide"

Now do the same for the header see those descriptions? Put those links had to be hardcoded in to the masterpage.


Now hover over the links on the left side on   The first page see the description?  No "LeftSide" in it which is required

for the filtering for the FilterPageList control.


I made both sites on purpose one with and the other without the PageLinkMenu with the PageLinkMenu its alot easier to make pages.


Hope This Helps,


Brian Davis