Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 02, 2012 05:13 AM by aamirha
Member
2 Points
6 Posts
Jul 01, 2012 11:13 AM|LINK
Hi
In some websites we can see they creat a page for every news such as:
Ex1: Http://www.SiteName.Com/News-Topic1.aspx
Ex2: Http://www.SiteName.Com/News-Topic2.aspx
How they can do this?
Contributor
2784 Points
481 Posts
ASPInsiders
MVP
Jul 01, 2012 11:35 AM|LINK
Hi there,
This is done with a concept called URL Rewriting. Under the hood, the request could be rewrittem as NewsTopic.aspx?Id=1 or NewsTopic.aspx?Id=2 which then shwos the correct news item based on its ID.
For more information:
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx
https://www.google.com/?q=asp.net+URL+rewriting
Cheers,
Imar
677 Points
170 Posts
Jul 02, 2012 05:13 AM|LINK
You will have to implement URL rewrite. Following below link have given examples.
http://forums.asp.net/t/1763091.aspx/1
http://www.codeproject.com/Articles/33341/URL-Rewriting-using-ASP-NET-for-SEO
HamidCyber
Member
2 Points
6 Posts
Creating dynamic pages?
Jul 01, 2012 11:13 AM|LINK
Hi
In some websites we can see they creat a page for every news such as:
Ex1: Http://www.SiteName.Com/News-Topic1.aspx
Ex2: Http://www.SiteName.Com/News-Topic2.aspx
How they can do this?
Imar_Spaanja...
Contributor
2784 Points
481 Posts
ASPInsiders
MVP
Re: Creating dynamic pages?
Jul 01, 2012 11:35 AM|LINK
Hi there,
This is done with a concept called URL Rewriting. Under the hood, the request could be rewrittem as NewsTopic.aspx?Id=1 or NewsTopic.aspx?Id=2 which then shwos the correct news item based on its ID.
For more information:
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx
https://www.google.com/?q=asp.net+URL+rewriting
Cheers,
Imar
My Blog - My Company
aamirha
Member
677 Points
170 Posts
Re: Creating dynamic pages?
Jul 02, 2012 05:13 AM|LINK
You will have to implement URL rewrite. Following below link have given examples.
http://forums.asp.net/t/1763091.aspx/1
http://www.codeproject.com/Articles/33341/URL-Rewriting-using-ASP-NET-for-SEO
Fill ASP.NETDropdownlist through JSON data using jQuery