• 0

c# Short URL wo Page in path


Go to solution Solved by XerXis,

Question

James Rose

Okay, I am again in need of something and I don't know what it's called so that I can find it.

 

Generally in asp/asp.net you see a page with a parameter like this;   www.site.com/page.asp?id=123   What I am looking for it the ability for; www.site.com/123

 

Thanks, and hopefully you have a laugh at my ignorance

 

Have a fun day

Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
XerXis

You will need rewrite rules.

 

Although I suggest using asp.NET MVC which takes care of most of the stuff for you by setting up a route system :)

Link to post
Share on other sites
  • 0
TAZMINATOR

if it is blog software like wordpress, check it in the settings which you can change the path/url format.

 

otherwise use the rewrite rule for that.

 

Link to post
Share on other sites
  • 0
James Rose

Rewrite Rules, perfect thank you.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.