Click here to Skip to main content
15,884,537 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
Hi Friends,
I am developing a web site of the celebrities.
On a page, I have the list of celebrities.
If a user clicks on any particular celebrity's image, a page should open showing the information of that celebrity.

What I want is, the URL of the page should form with the name of the celebrity.
eg.
HTML
www.celebrities.com/List-of-all/Arnold.aspx
www.celebrities.com/List-of-all/JohnyDepp.aspx


I don't want to add the number of pages to site. The page should be one, but the URL formed should be different (containing name of the celebrity).

It is possible using Rewrite Rules.
Do you have any idea, how this "Rewrite Rules" works??
How can I achieve my result using this ???

Any help appreciated.

Thanks,
Lok..
Posted
Updated 5-Feb-13 17:50pm
v2
Comments
P_Dash 3-Feb-13 6:12am    
I don't think that would be possible.
But you can take help of Query String to achieve kind of Similar view.
Lokesh Zende 4-Feb-13 0:48am    
Yes, it is possible..using Rewrite rules we can achieve this.
Now, do you know anything about Rewrite rules???
P_Dash 4-Feb-13 2:58am    
Dude I'm out of touch with this.
But still lemme recollect it & I'll surely post you any solution if find.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900