All Questions
Tagged with http-status-code-301 http-status-code-302
59
questions
0
votes
0
answers
19
views
How to redirect individual pages with URL parameters in .htaccess without causing a redirect loop?
I have an old website written in PHP in which all of the pages are served as parameters, in the format:
https://www.mywebsite.com/index.php?action=view_page&course=main&type=sausages
I'm ...
1
vote
1
answer
138
views
Fetching a redirect's target URL in OpenRefine
I have a CSV of ~2000 URLs that, when queried, do a 301 or 302 redirect, and I'm trying to figure out if OpenRefine is able to export to a new column the destination url that it retrieves HTML from ...
0
votes
1
answer
151
views
Should I use HTTP 302 instead of HTTP 301 in this case?
I have a website example.com
People come to my site to calculate some stuff and get their results like
example.com/result/oiwajefoijh238fjiow
example.com/result/jifomoiemowajefji33
They would spread ...
1
vote
1
answer
227
views
Redirect user through multiple domains
Does anyone know about the browser's policy about multiple HTTP 302 redirections?
Example in steps:
On domain A user clicks on a link and lands on Domain B
On domain B he is auto-redirected to domain ...
0
votes
1
answer
163
views
How to redirect users from old domain to new domain, if they have cached the site
My old domain is no longer valid, I have changed the product name.
I want to redirect all old users to my new domain.
I told my domain-provider to 301 send them to my new domain.
My issue is that when ...
0
votes
1
answer
31
views
Is it safe to assume that a page is redirecting if a "Location" header is received?
I'm creating a JavaScript function to follow redirects using Node.JS's native HTTPS module. Is it safe to assume if there is a "Location" header that the page is redirecting, or should I also be ...
1
vote
1
answer
6k
views
Haproxy - 301/302 redirect URL1 to URL2 with all pathes
I'm a little bit lost atm. I try to implement a redirect within a complex HAproxy configuration. The goal is simple:
user uses a subdomain -> 123.domain.com
user will be pointed to api.domain.com but ...
-1
votes
1
answer
831
views
52 error: www not redirecting in Edge/Chrome/Mobile: `ERR_EMPTY_RESPONSE`
Update: culprit identified:
On the 4th to last line, ssl should be removed. Not sure why. If anybody can explain why, please add your answer. Thank you!
Target system info:
I'm on Debian 10, ...
2
votes
1
answer
967
views
Sending a 301/302 redirect from a Python CGI script
I keep finding answers on how to read a redirect from an HTTP client response out of Python, but I can't figure out how to send a 301 or 302 redirect back to the client. Seems this should work, but I ...
3
votes
0
answers
772
views
How can we do 301 and 302 redirection with angular and node? Angular app is working as server side rendering app ( angular universal)
I am working on a CMS system with angular as a front-end and .net mvc as a backend for my api's. Angular universal with server side rendering is also implemented.
The issue is i cannot figure out ...
1
vote
1
answer
1k
views
Force Route to HTTPS
I need help on setting up the laravel backpack on live server.
So at first i got trouble loading the asset since it used http for the image and css
http://example.com/images/ and http://example....
0
votes
0
answers
436
views
how to redirect 301 in asp.net core 2.0 (iis), add google analyze code
my question:
1 301 to different website
2 use google analyzer to have statistics.
i know such ideas:
RedirectPermanent is 301 and Redirect is 302 status code
public void Configure(...
0
votes
0
answers
85
views
Unable to return 301 using TomEE when redirecting from http to https
Currently have a JSF web app deployed on apache-tomee-webprofile-1.7.4. Have setup servlet.xml with the 8080 and 8443 Connectors and transport-guarantee CONFIDENTIAL section in web.xml to redirect ...
0
votes
0
answers
617
views
Google can't crawl site because of a 301
Problem:
Like a total noob i did a 301 redirect instead of a 302. Now Google is on the struggle bus trying to find the new website. I went from a HTML website to a WordPress website. I did a 301 ...
0
votes
0
answers
44
views
Redirecting domains, from 301 to a 302 to a 200
So did some checking (https://httpstatus.io/) and noticed that some of my domain are redirecting from a 301 to a 200 (what we want) and a couple of them are redirecting from a 301 to a 302 to a 200. ...