Top "Url-routing" questions

URL routing is the process of mapping a URL to its content.

Can angularjs routes have default parameter values?

Can I set a default value of a parameter of a route in AngularJS? Is there a way to have /…

javascript angularjs model-view-controller url-routing
Rails: redirect all unknown routes to root_url

Whenever a user hits the wrong page, rails shows 404.html from the public folder. However, I'd like just to redirect …

ruby-on-rails redirect routing routes url-routing
How do I get Route name from RouteData?

I have several routes defined in my Global.asax; When I'm on a page I need to figure out what …

asp.net routing webforms url-routing
Error: Cannot match any routes. URL Segment: ''

I'm trying to reproduce my problem with Angular2 router but i cannot create a working copy of my project in …

angular url-routing angular2-routing plunker angular2-router3
Pass URL to as $routeParam in AngularJS app

How can I pass actual URL (with slashes, commas, etc.) as a $routeParam to AngularJS App? this will work: http://…

javascript angularjs url-routing
Flask url_for generating http URL instead of https

I am using url_for to generate a redirect URL when a user has logged out: return redirect(url_for(…

python url-routing flask werkzeug
url with multiple forward slashes, does it break anything?

http://example.com/something/somewhere//somehow/script.js Does the double slash break anything on the server side? I have …

url browser url-routing server-side
Clearing URL hash

Visit stackoverflow.com/#_=_ and window.location.hash evaluates to #_=_. Fine. Now execute window.location.hash = '' to clear the hash, …

javascript html url-routing window.location
ASP.NET MVC Default URL View

I'm trying to set the Default URL of my MVC application to a view within an area of my application. …

asp.net asp.net-mvc web-config asp.net-mvc-routing url-routing
Add a trailing slash at the end of each url?

I have a little problem here. I need to add a trailing slash at the end of each url in …

asp.net-mvc url-routing