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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:43:26+00:00 2026-05-20T09:43:26+00:00

I have an MVC project that needed to have the URL structure changed. I’ve

  • 0

I have an MVC project that needed to have the URL structure changed. I’ve modified the Global.asax.cs file so that all the URL’s are now reflecting what the account team wanted. Long story short, there is a requirement to have a tailing ‘/’ on all of the URL’s (i.e. http://www.google.com/whatever/ ).

I think the best way to do this is to override the Html.ActionLink() function so all the URL’s are generated the desired way but I’m not sure where/how to do this.

Thnx for any help

  • 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-20T09:43:26+00:00Added an answer on May 20, 2026 at 9:43 am

    Check this other StackOverflow question:

    Why is ASP.NET MVC ignoring my trailing slash?

    Quoting the approved answer:

    Legenden – there is no immediate
    solution to the problem. You may have
    run across Jason Young’s blog
    post
    about the issue, which is
    very informative. Scott Hanselmann
    posted a reply
    to it here,
    basically stating that he didn’t think
    it was a big deal, and if it is, you
    can leverage the new IIS7 rewrite
    module to solve it.

    Ultimately though, you might want to
    look at a solution that was posted by
    murad on a similar question on
    StackOverflow:
    Trailing slash on an ASP.NET MVC route

    .

    Another approach:

    • http://typesafe.be/2009/08/29/solving-the-trailing-slash-problem-in-asp-net-mvc-using-a-custom-urlroutingmodule/
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a POCO class in my ASP.NET MVC project that handles all
I have an ASP.NET MVC project and I have a single action that accepts
I have an ASP.NET MVC project with a form. In the Action method that
I'm working on a Spring MVC project, and I have unit tests for all
I've just create a new MVC project, and have made no changes at all,
I have a ASP.NET MVC project that has a static class in it to
I have this ASP.net MVC project that requires a wizard like interface... So I
I have an MVC project that provides (GET) & consumes (PUT) a Json object.
i have installed ckeditor into my asp.mvc project, now i need to implement just
I have a new ASP.NET MVC project (my first), and I had been running

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.