skip to Main Content

Getting return value of null every time to Controller – Asp.net

Receiving Null value every time to Controller. How can I solve this? Url: http://localhost:45801/Account/Login?ReturnUrl=%2Forder%2Fplaceorder Code: [HttpPost] public async Task<IActionResult>Login(UserLoginVM userLoginVM,string ReturnUrl) { if (ModelState.IsValid) { var result = await signInManager.PasswordSignInAsync (userLoginVM.LoginId, userLoginVM.Password, userLoginVM.RememberMe, false); if(result.Succeeded) { if(!string.IsNullOrEmpty(ReturnUrl)) { return RedirectToAction(ReturnUrl);…

VIEW QUESTION

RedirectMatch 301 remove query string / URL Parameters – Apache

i need a Solution for the google search console error links and RedirectMatch 301 remove query string / URL Parameters in my htaccess: Google Search Console Links: https://www.domain.de/?main_page=index&zenid=umf5etlrmr4blnuiq0e4jsp6l2&cPath=15_326&sort=20a&alpha_filter_id=68 https://www.domain.de/index.php?main_page=product_reviews_write&products_id=9985&cPath=5_380&number_of_uploads=0 https://www.domain.de/?main_page=index&cPath=46_47&sort=20a&alpha_filter_id=70 https://www.domain.de/?currency=USD&main_page=products_new&disp_order=7&page=141 https://www.domain.de/?main_page=index&zenid=mj6nsb9r53goiu6e13nb80tfq7&cPath=1_160&sort=20a&alpha_filter_id=70 https://www.domain.de/?currency=USD&main_page=index&cPath=3_137 https://www.domain.de/?main_page=index&cPath=46_76&sort=20a&alpha_filter_id=84 https://www.domain.de/?main_page=index&cPath=5_6&sort=20a&alpha_filter_id=85 https://www.domain.de/index.php?main_page=index And many more. I…

VIEW QUESTION

httpd (apache) – rewrite page -> query parameter

I have a website containing a directory and pages. Let's call the directory 'Maintenance' and pages 'page1.html,...' I want to redirect each file under the directory to query parameter such as '/?q=pageX'. <VirtualHost *:80> ServerName myServer.com ServerAlias www.myServer.com DocumentRoot "/var/www/html"…

VIEW QUESTION
Back To Top
Search