Developer forum

Forum » Development » Create SEO Friendly URLs in Custom Modules

Create SEO Friendly URLs in Custom Modules


Reply
Hi there,

Is there a way to make use of the SEO Module to make SEO friendly URLs in your own custom modules? I tried something like this:

<a href="Default.aspx?Id=1234" title="This should be added to the URL">Read on</a>


But unlike with built-in modules such as News, the title is not appended to the URL.

Do I need to do something for this to work?

Imar

Replies

 
Reply
Never mind, figured it out. Turned out the URL was directly mapping to an existing URL. So this:

  Default.aspx?Id=1234

became some thing like

  MyCustomPage.aspx

By adding a uniqe ID to the query string (Default.aspx?Id=1234&itemId=23) I did get the right URL:

  /MyCustomPage/[itemId/7]/This-should-be-added-to-the-URL.aspx

Imar

 

You must be logged in to post in the forum