Most voted "redirect" questions
30 questions
Sort by count of
-
7
votes1
answer251
viewsCustomizing CSRF Protection error messages in Codeigniter
In the CodeIgniter, if I give a Reload F5 on a form page, the error is returned The action you have requested is not allowed. A protection against CSRF. How do I customize the HTML of that error…
-
4
votes0
answers38
viewsIs there a more correct way to handle redirects in authentication streams? (e.g., HTTP Status 302, or Javascript, or auto-Ubmit form)
I work on a project where we have a Frontend application and a second Backend application (Nodejs) that takes care of authentication and contains a REST API. In the authentication part, Backend…
-
3
votes1
answer697
viewsHow do I get the final URL of a JS redirect?
I was trying to make a code to get the final url of redirecting some links, I managed to do for most of the links I needed, incoming for this I could not: https://redir.lomadee.com/v2/987163d4 All…
-
3
votes2
answers73
viewsRedirect: HTML or JS?
Commonly I see two main methods for redirecting the user to another page, being them: HTML: <a href="pt.stackoverflow.com">StackOverflow</a> and Javascript:…
-
1
votes2
answers985
viewsAdd parameter at end of link with jQuery
Guys, I’m trying to take some specific URL’s on a page, and add a parameter at the end of the link, but I’m not succeeding, because it returns the object instead of the link string + the parameter.…
-
1
votes1
answer250
viewsForwarding from other domains (http/https) to main (https)
Fala galera! I have a question about https redirect. I have a ". com" domain (SSL installed), but ".com.br" doesn’t have SSL, I just redirect it to ". com" with SSL, until then blz, but, if I try to…
-
1
votes0
answers146
viewsForce redirects from https to specific page http
I have a website that’s on https, but there is a specific page that pulls information from another site that is not on https, which prevents the page in question from correctly loading the content,…
-
1
votes0
answers219
viewsProblem to load view
Hello, I am consuming an API in my controller and, upon receiving the result, I would like to load a user panel view. But when the script arrives in the method $this->load>view() nothing…
-
1
votes0
answers390
viewsIIS 10 - Redirect HTTPS to HTTP request causing MIXED CONTENT error
I have an iis website with HTTPS open, but I need to redirect a specific request to http. This works, however, the browser returns an error when Iss redirects the request to http. Next: Mixed…
-
1
votes1
answer158
viewsRedirect through the option value and keep the option selected
I need to redirect according to the "option" value and keep this "option" selected after redirect. I can redirect through this code: $(function() { // bind change event to select…
-
1
votes1
answer47
viewsIs it possible to manipulate the current url with php?
Oops, I want php to send a GET form when I upload the page. But I’m not getting it. $forget = 'abc'; $url = $_SERVER['PHP_SELF'].'?get='.$forget; header('Location:'.$url);…
-
1
votes1
answer136
viewsRedirect fault Laravel
Expensive, Can you help me with this portable redirect? I created a method where it re-evaluates the data and redirects, on the other hand when redirecting I get the Route error…
laravel laravel-5 laravel-eloquent laravel-blade redirectasked 6 years, 3 months ago Ronaldo Adriano 61 -
1
votes1
answer74
viewsHow do I use Redirectmatch to redirect to the other page?
I have an application made in wordpress and I’m making a new one with HTML/CSS and PHP. Inside the folder of this application made in wordpress, has a file called htaccesss, and has the following…
-
1
votes1
answer465
viewsHow to redirect to another route and pass variables in the process? Node + Express
I would like to redirect using res.redirect() so that the URL is also changed, but I’m not being able to send information in the process, could anyone tell me how to do that? I want to send together…
-
0
votes1
answer77
views301 redirect to dynamic domain
Good afternoon, you guys. We have a website meusite.with and we updated it and ai domains like meusite.com? id=123 lost their "direction". How do I do 301 on these dynamic Urls on IIS?…
-
0
votes2
answers754
viewsI want to check if a link has been clicked and redirect it with Wordpress
At the bottom (footer) has an image that is link to a page - external to my site - Google Docs. I want to restrict access to this page of Google Docs as follows: - If who clicked on the image/link…
-
0
votes0
answers109
viewsI cannot recover $_SESSION with ajax and codeigniter
I’m having trouble recovering a $_SESSION using php native Session with ajax in codeigniter, because when I try to verify the data informUndefined. follows the code, since thanks to all. controller…
-
0
votes1
answer198
viewsRedirect www htaccess with segment in url
Where my site is hosted, I am using the . htaccess and on it has a condition to remove the www and direct to the main page without the www. <ifModule mod_rewrite.c> Header set X-Frame-Options…
-
0
votes1
answer681
viewsError redirecting to a jsf page inside a bean
(SOLVED) Error redirecting to a jsf page within a Managerbean. I have an application in Java EE, and I want to validate inside the Loginbean constructor (Viewscope) to redirect to my main page if…
-
0
votes1
answer34
viewsSend form without the browser alert
I’m submitting a form with JS and after everything goes well, I redirect the page as follows: window.location.href = '/admin/lojas/produtos'; The problem is that always appears the alert below and…
-
0
votes1
answer51
viewsSite redirection error
My website always redirects from www.idealnutri.com/magnesio-dimalato for www.idealnutri.com/magnesio-dimalato/ (WITH BAR AT THE END). Why? How to know what is causing this redirection? NOTE: I…
-
0
votes1
answer31
viewsI need to receive value from a redirect with with in controller
In my class loginController I make the following way: return Redirect::to('home')->cookie($nome)->cookie($sessionid)->with('cnpj',$cnpj); I need to have that data $cnpj to pass on the…
-
0
votes1
answer877
viewsredirect()->back() return with variable
I have this form here <form action="{{ route('usuario.update') }}" method="post"> <input id="token" type="hidden" value="{{ csrf_token() }}" name="_token"/> <input type="hidden"…
-
0
votes1
answer92
viewsHow to return the redirect URL with js?
I have a URL that redirects to another URL where the Location with the final URL, I want to return in a var urlfinal only the final URL that is on this Location, and not the URL that is directing…
-
0
votes1
answer151
viewsuse redirect to specific page after validation in case of error - Laravel
Well I have the code below Validation: class FormNew extends FormRequest{ public function authorize() { return true; } public function rules() { return [ 'email' => 'required|email', ]; } public…
-
-1
votes2
answers55
viewsLink to access pages
How do I click on the products example link, change only content example and leave header and footer quetos? do with Slin and Rain frameworks, HELP!!!.
-
-1
votes1
answer42
viewsHook for Queries Log and Redirect Instruction
I’m using hook to log queries. However when I use redirect instead of load->view, the array db->queries is empty. I need to continue using the redirect statement. Can anyone help me? I’m using…
-
-1
votes1
answer54
views.htcaccess 301 redirect does not work
The redirection of https://www.meusite.com for https://meusite.com doesn’t work. And as a result I get the site in duplicate, one page I’m logged in and the other not. <IfModule mod_rewrite.c>…
-
-1
votes2
answers223
viewsSpring MVC application does not redirect to page after login
I have a problem and I would like to count on your valuable help to solve it. After logging into the application the user should be forwarding to a catalog listing page. The login itself is ok,…
-
-3
votes1
answer525
viewsPHP session with redirect time
I need help with a PHP user session script with waiting time, so that if there is no activity on the page it is redirected to an output page.