rewrite URL

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.
6/11/2010 5:37:20 AM
Gravatar
Total Posts 32

rewrite URL

On our new module we show a list of real estate properites with a little description

Clicking on the image will redirect to a page called ~/propertydetail.aspx

in the querystring will pass the PK from our database and we load the page with the full specification

what we are looking for is how to rewrite the url of the page depending on the database information in page load

e.g we would like to display the URL like ~/propertydetail/France/Aquitaine/Dordogne/12345.aspx where 12345 is the PK of our db record

can this be done? and is so how?

6/12/2010 1:01:53 PM
Gravatar
Total Posts 18439

Re: rewrite URL

Hi,

Rather than answer here directly, I just created this document with some notes about it.

http://www.mojoportal.com/using-friendly-urls-in-custom-features.aspx

Best,

Joe

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