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 183317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T15:05:39+00:00 2026-05-11T15:05:39+00:00

Is there a definite DO and DONT when implementing seo urls? A lot of

  • 0

Is there a definite DO and DONT when implementing seo urls? A lot of good practise seems fine for .html sites but breaks down on medium/large database sites.

AFAIK the url should be http://www.mysite.com/category/page-name-here

If I wish to make a content rich site and be default the category and page are database driven – does this prevent me from having pages such as http://www.mysite.com/about or http://www.mysite.com/home as the about and home pages could conflict.

Although the routing engine is flexible, is the above feasible and/or worthwhile?

-edit-

Just to elaborate on my question, is it possible to control the routing engine with a database?

It is good practice for the url to contain a meaningful description – eg stackoverflow.com/category/mvc and stackoverflow.com/questions/seo-urls-with-asp-net-mvc is good (as opposed to stackoverflow.com/category/9955 and stackoverflow.com/questions/734583)

As an expirment, I would like to take the control to another level, lets say that the two controllers above (category and questions), each showing dynamic data could be amended to be simply stackoverflow.com/mvc and stackoverflow.com/seo-urls-with-asp-net-mvc.

I would need to ensure that my database contained a table that tells me that the former is to be routed as a category and the latter as a questions – this could be achieved by a simple database lookup and would need to be implemented within Global.asax

My question is, can this be achieved and what would be the potential pitfalls.

  • 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. 2026-05-11T15:05:40+00:00Added an answer on May 11, 2026 at 3:05 pm

    It’s easily feasible if you add the harcoded routes above the generic ones:

    // AboutController.Index() routes.MapRoute(      'About',     'about',     new { controller = 'About', action = 'Index' });  // HomeController.Index() routes.MapRoute(      'Home',     'home',     new { controller = 'Home', action = 'Index' });  // ArticleController.Index(string category, string pagename) routes.MapRoute(      'Article',     '{category}/{pagename}',     new { controller = 'Article', action = 'Index' }); 

    They could all use the same controller if you wanted, but it might be a bit easier if they used separate ones.

    The only problem you would have with this is if you had a category called ‘about’ or ‘home’ but this is unlikely I would imagine.

    It should also be noted that you don’t have to use ASP.NET MVC to use the routing capability.

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

Sidebar

Related Questions

I suspect the answer's a pretty definite no, but given the following html and
I was sure that it hasn't, but looking for a definite answer on the
There is a question very similar to this but I wanted to ask it
There is a conversion process that is needed when migrating Visual Studio 2005 web
There are two weird operators in C#: the true operator the false operator If
There are two popular closure styles in javascript. The first I call anonymous constructor
There is previous little on the google on this subject other than people asking
There seem to be many ways to define singletons in Python. Is there a
There are a few ways to get class-like behavior in javascript, the most common
There are numerous Agile software development methods. Which ones have you used in practice

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.