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

Ask A Question

Stats

  • Questions 81k
  • Answers 81k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer substr_replace is what you want. $s = substr_replace($s, '', 2,… May 11, 2026 at 4:29 pm
  • Editorial Team
    Editorial Team added an answer I'm generally a VB guy, but this seems to work… May 11, 2026 at 4:29 pm
  • Editorial Team
    Editorial Team added an answer I have an .html file (X) that depending on some… May 11, 2026 at 4:29 pm

Related Questions

I have a third party library that internally constructs and uses the SqlConnection class.
I am working on a stored procedure with several optional parameters. Some of these
Like many others on this site I am considering a move to ASP.NET MVC
Should I use PNG transparency or CSS transparency? My first instinct is to go
I've been asked to develop an information and e-learning website with an emphasis on

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.