Dynamic URL Re-Writing

Posted by Raj.Trivedi under ASP.NET on 11/8/2013 | Points: 10 | Views : 1177 | Status : [Member] [MVP] | Replies : 6
Hello Team,

I want to dynamically re write the url that is getting generated from database.

Currently My Url is :- www.xyz.com/ArtView.aspx?Id=1

I want it to be www.xyz.com/ArtView/Name-of-the-title.aspx

We tried using UrlMapping Feature in Web.Config.

It works fine running locally but when hosted on the production server on bigrock.com

It gives an Error. I believe its creating a .tmp file everytime and bigrock does not allow that.

Is it possible to re-write the url dynamically in Global.asax

Regard's
Raj.Trivedi
"Sharing is Caring"
Please mark as answer if your Query is resolved



Responses

Posted by: Bandi on: 11/8/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Refer
http://blog.dotnettechy.com/2011/09/url-rewriting-in-aspnet-using.html

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Raj.Trivedi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: vishalneeraj-24503 on: 11/8/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Please refer below links :-
http://msdn.microsoft.com/en-us/library/ms972974.aspx
http://msdn.microsoft.com/en-us/library/cc668201.aspx
http://moz.com/ugc/url-rewriting-increase-organic-traffic-by-using-dynamic-urls-that-look-static
http://www.dotnetperls.com/rewritepath
http://blog.dotnettechy.com/2011/09/url-rewriting-in-aspnet-using.html
http://sanzon.wordpress.com/2008/04/21/url-rewriting-with-globalasax-and-app-mapping/

Raj.Trivedi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 11/8/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
http://exploreasp.blogspot.in/2011/03/url-rewriting-in-aspnet.html
http://forums.asp.net/t/1293169.aspx

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Raj.Trivedi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 11/8/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
http://moz.com/ugc/url-rewriting-increase-organic-traffic-by-using-dynamic-urls-that-look-static

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Raj.Trivedi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Allemahesh on: 11/8/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
Check out these articles

http://www.codeproject.com/Articles/77199/URL-Routing-with-ASP-NET-4-0
http://www.w3spark.com/asp-net/url-rewriting-in-asp-net-dynamically-and-statically/

Happy Coding,
If it helps you or directs U towards the solution, MARK IT AS ANSWER

Raj.Trivedi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Samirbhogayta on: 11/11/2013 [Member] Starter | Points: 25

Up
0
Down
hi..please refer following link

http://stackoverflow.com/questions/15461950/how-to-implement-dynamic-url-rewriting-in-asp-net

SAMIR
Sr. Software Engineer

Raj.Trivedi, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response