PieterSchool
PieterSchool

Reputation: 509

C# SEO URL generated from database

I'm currently working on a CMS. It allows users to create pages/subpages++++

The pages have an ID + FrienldyName to be found. My question is:

How and where do I generate the routing based on all pages found in the database. So it won't be like

"www.page.com/goto?pageId=1&productId=1"

But

"www.page.com/products/1"

P.s. I am not using asp.mvc.

Upvotes: 1

Views: 823

Answers (1)

Pleun
Pleun

Reputation: 8920

Look for URL routing or rewriting.

Here's an example:

http://weblogs.asp.net/scottgu/url-routing-with-asp-net-4-web-forms-vs-2010-and-net-4-0-series

Upvotes: 1

Related Questions