All Questions
Tagged with routes url-routing
575
questions
0
votes
0
answers
24
views
LinkGenerator.GetUriByPage method not working
OK, I have solved my problem - the one described below. I removed the Route Pattern constraint 'alpha' and replaced it with 'regex(^([0-9]+-){{5}}[0-9]+$)}', which did the trick. The 'alpha' ...
0
votes
0
answers
38
views
PHP Custom MVC pass multiple parameters
I'm creating a simple MVC framework for a new version of my website I'm working on. Currently I have simple routing, such as /about-us etc ...
Due to my lack of PHP programming experience, I am ...
1
vote
0
answers
17
views
Re-direct in react using .htaccess
Here is my .htaccess file
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
...
1
vote
0
answers
43
views
Angular routing not loading component properly
I have a problem regarding angular routing not loading my component the first time.
Example:
When i write "http://localhost:4200" i getting redirected to "http://localhost:4200/ENU"...
0
votes
1
answer
118
views
HTTP 404.0 Not Found in IIS with ASP.NET Core 6
As the title says, I'm having a problem when I try to route my ASP.NET Core 6 MVC web application (the route it's done with app.MapControllers() in the Program.cs), in IIS as this screenshot shows:
I ...
1
vote
1
answer
13
views
gb_events working routing configuration typo3
I have a TYPO3 v11 instance running with gb_events 11.0.1 installed.
What is a working routing configuration for gb_events
so you can to have nice urls using the path_segment field?
0
votes
0
answers
29
views
Subscribing to Activate Route Paramaters having no effect on ngClaas
Hi all I am currently implementing a sidebar component in which the user will be able to select from list of different items, loading different results,
I am currently using routing parameters to ...
0
votes
1
answer
309
views
how to Map multiple .net core controller routes
I currently map my controller routes like this:
var webApplication = builder.Build();
webApplication.MapControllerRoute("default", "{controller=Home}/{action=Index}/{id?}");
This ...
0
votes
2
answers
135
views
TYPO3 v11: How to remove controller and hash from route
Paths from a custom TYPO3 extensions look like this:
https://example.com/events/detail/event-title/test-event/?tx_eventmanager_eventdisplay%5Bcontroller%5D=Event&cHash=...
0
votes
0
answers
33
views
Next.js App (pages) error when accessing double slashed path like "https://myapp.com//example" in production
I have a Next.js App with pages router where I have a [[...index]].tsx page that is supposed to catch all urls, this works on localhost, but when I host the app I get the following error when ...
1
vote
1
answer
78
views
Routing encoded url in angular
In my angular project i have a route as a
path: 'friend/messages/:encryptedKey/:type',
component: EncryptedRouteComponent,
canActivate: [AuthGuard],
,
path: '**',
component: ...
0
votes
1
answer
50
views
Process URL in the same way as Express does to get request parameters in a get command
I want to be able to get the parameters from a uri string in the exact same way as Express does. I can do it with regex or other string methods, but then I have a risk that it is not interpretted the ...
-2
votes
1
answer
45
views
Next.js Routing: File Changes Impacting Navigation - How to Manage Routes Effectively
I want that when i use routing from allprojects it should use **[projectid] ** how to do it?
normaly we all know that in next js we do file based routing and in dynamic routing case we make anoter ...
3
votes
1
answer
1k
views
Laravel - redirect() vs redirect()->route() vs to_route()
In Laravel 10, let's suppose I have this route in my web.php file:
Route::get('/whatever', function() {
return response()->json([
'message' => 'hello from whatever route'
]);
})-&...
0
votes
0
answers
57
views
Flutter Web: URL Changes Back to /root After Navigation
I'm developing a Flutter web application and encountering an issue with the URL navigation. Whenever I navigate to a specific route in my app, the URL initially updates correctly, but then immediately ...