About Blog page URL mapping

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
4/25/2008 1:56:24 AM
z1
Gravatar
Total Posts 15

About Blog page URL mapping

Hi,

I added the single page for that page blog module is selected. Not any categories given instead of that directly post is added using add post button.

When click on that post it takes the path as

http://localhost/directoryname/BlogView.aspx?pageid=2&ItemID=8&mid=7 now I want to change this to my path as http://localhost/directoryname/myblog.aspx.

So, how it can be done. I want to do it for post added in the blog. 

The Solution u given I not understand it. I done that but problem is same. But when I type the my given link directly in address bar it shows the record. And also that if there is more entries in blog so how it possible to friendly URLs to every post of that blog. Where to change that friendly URL path?

 

4/26/2008 7:13:02 AM
Gravatar
Total Posts 18439

Re: About Blog page URL mapping

It is possible to make a friendly url that points to a blog post using the Administration > Url Manager.

For the friendly url you would put:

~/mypostaboutwhatever.aspx

and in the real Url you put this format:

~/BlogView.aspx?pageid=2&ItemID=8&mid=7

There is nothing automatic to do this. You need to be careful to avoid name clashes with real pages or other virtual pages.

Hope it helps,

Joe

4/30/2008 5:55:07 AM
z1
Gravatar
Total Posts 15

Re: About Blog page URL mapping

The Solution u given I not understand it. I done that but problem is same. But when I type the my given link directly in address bar it shows the record. And also that if there is more entries in blog so how it possible to friendly URLs to every post of that blog. Where to change that friendly URL path?

I want to change the path of particular post added by using add post functionality of blog module. I think that it take the URL from BlogModule.ascx i.e. all pageID,ModuleID,ItemID using NavigateUrl.

The moduleID 9  for RSS9 for that I change

BlogView.aspx?pageid=5&ItemID=15&mid=9 to ~/myfriendlyURL.aspx but it not shows that new URL it takes original URL. So,how it can be possible?

 

4/30/2008 8:48:16 AM
Gravatar
Total Posts 18439

Re: About Blog page URL mapping

I don't think I can help you since you don't understand me.

When I get a chance I will implement automatic friendly urls for the blog, but I have a lot of other things on my list before that.

For now it is possible to manually create friendly urls as I mentioned before. For example this url:

http://www.joeaudette.com/aspnet20smtpconfiguration.aspx

maps to:

http://www.joeaudette.com/BlogView.aspx?pageid=101&ItemID=262&mid=104

Best,

Joe

5/15/2008 7:19:57 AM
Gravatar
Total Posts 18439

Re: About Blog page URL mapping

I've implemented automatic friendly urls in the blog. If you're working with svn trunk, you can do svn update then rebuild the solution, then visit /Setup/Default.aspx

after that you will see it works for new posts and you can update existing posts by edit and save to add the friendly url.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.