Questions tagged as 'redirecionamento'

2
answers

How can I make a link from my site open only when clicked on the same page? [closed]

I'm trying to make a plugin editor for html, css, js and php files, my problem comes after it reads all the files it creates a link to edit my created file and goes to another page only that I want that when the link is clicked it instead of red...
asked by 24.11.2015 / 22:41
1
answer

This web page has a redirection loop

Well folks, after a long search on google, I did not find anything similar to my problem, so I thought I'd report it here. Yesterday a system I'm building started displaying this problem "This web page has a redirect loop". The server I'm usi...
asked by 08.02.2016 / 12:20
0
answers

Redirecting url by holding url

Personal my client has a reseller plan in Locaweb where he has a main site and inside this key has the subsites that are generated dynamically and do not have folders in the hosting. I need to redirect the domains of his clients to this sub-site...
asked by 01.12.2017 / 14:34
0
answers

err_too_many_redirects only in production environment

I have an application that makes payment for some employees. On the screen it is selected from the current month, so you do not need to select it, but if you have more data on the screen,    "The page of www.SISTEMA.com.br is not working....
asked by 07.11.2017 / 20:51
1
answer

Make 301 redirect in specific urls

How do I do in htacess redirect 301? But in specific urls, I changed my domain, and migrated the posts for example: myite.com.br/artigo/nomedoartigo Make a 301 redirect only when you have / article / Ai when people who access the old url t...
asked by 16.07.2017 / 18:40
1
answer

How to redirect to auth / login in Laravel 5.1 if the visitor is not authenticated? [closed]

I am using Laravel 5.1 native authentication but when accessing a protected route the system does not redirect me to the login screen, instead it shows me the message "You do not have permission to access this resource." The routes then this...
asked by 17.09.2015 / 20:37
1
answer

Redirect does not interrupt script interpretation?

I may be missing something, but by no means can I see what. I have a simple login code that is behaving (at least it seems to me) in a strange way. index.php: session_start(); if(isset($_SESSION['error'])) { echo $_SESSION['error'];...
asked by 26.11.2016 / 13:55
5
answers

Page redirection according to access country

I have 2 PHP pages, one in Portuguese and the other in English, and would like the user to be redirected automatically to English, if access were outside Brazil. There must be a way ? Or the most effective solution is to create a link to the pag...
asked by 29.07.2016 / 14:24
1
answer

Handle url with javascript

I have a blog and platform migration (Blogger -> Wordpress) and I have also changed the domain. For the newer articles I do not face any problem, however articles with more than one or two years, there are links spread over the web with the old...
asked by 04.07.2015 / 21:50
1
answer

When the 404 error in the header, and redirect to a specific page? [closed]

I have this page with link OFF: link But I do not have to do this with .htaccess , because I tried and it will not, I want to do with php . I tried something like this: if($httpCode == 404) { /* REDIRECT AQUI */ }...
asked by 06.08.2018 / 17:32