Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3499598
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:37:51+00:00 2026-05-18T12:37:51+00:00

Im using asp.net mvc c#. Based on user input I want to save the

  • 0

Im using asp.net mvc c#. Based on user input I want to save the text they enter in the db and create a url using this text. there will be a unique id associated with this text too.

What should I factor when creating “clean” urls?

and also how should I avoid repetition – i.e every url should be unique,
so if 2 people type in: “Hey, Check My cool URL!!”

I’d probably want something like http://www.mysite.com/links/hey-check-my-cool-url/

How can i ensure they will always be unique and what should i do if the same description is entered twice?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T12:37:52+00:00Added an answer on May 18, 2026 at 12:37 pm

    Most people end up with some variation of loannis karadimas solution. However, two schemes that that I tend to use are:

    http:///www.mysite.com/links/xxx/hey-check-my-cool-url
    

    This is because it indicates that the xxx digits aren’t part of the title of the link (depending on what you are doing).

    http:///www.mysite.com/links/hey-check-my-cool-url-xxx
    http:///www.mysite.com/links/hey-check-my-cool-url/xxx
    

    Basically sticking the xxx digits at the end, because for SEO purposes (if you care) it is more likely that words closer to the root of your URL has higher predence for page rank. Of course take that with a grain of salt, like most other SEO tips!

    PS, I don’t know much about ASP at all.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the asp.net MVC pattern of having a url like controller/action/id . This
I will start new project which is based on ASP.NET MVC 3 using C#
This question is being based off of a similar question titled, ASP.NET MVC Relative
I am developing an application which is web-based (asp.net MVC). The user configures reminders
Im using asp.net mvc. I have a create and edit form which are very
I'm actually using ASP.Net MVC, but I think this applicable to ASP.Net as well.
Using ASP.Net MVC on my Site.Master I have: <head runat=server> <title><asp:ContentPlaceHolder ID=TitleContent runat=server />
Using ASP.NET MVC when trying to get the information stored on my Session[objectName] from
Using ASP.NET MVC 2.0, I have an actionlink that is used for comments on
Using ASP.NET MVC + jQuery : I need to use some values owned by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.