Questions tagged [302-redirect]
302 is the HTTP status code for a temporary redirect.
112
questions
1
vote
0
answers
23
views
SEO / Redirect from category to unique product in it
I am working on an e-commerce website with a category page for each model in stock.
The category page let the visitor compare the main characteristics of products before accessing more details on the ...
3
votes
2
answers
214
views
"Page With Redirect" issue for index document
I use the Pelican static site generator with Attila which automatically creates a page for each of my site's categories (/categories.html).
The default configuration for Attila created category URLs - ...
1
vote
1
answer
79
views
Why is my server 302-redirecting Lighthouse away from my robots.txt file, but not when I visit it with a web browser?
This is my robots.txt file:
User-agent: *
Disallow: /user/
Disallow: /user/*
Disallow: /home/*
Disallow: /adminpanel/*
Disallow: /Valorant_Guess/*
Disallow: /Leagueoflegends_Guess/*
Disallow: /...
1
vote
1
answer
41
views
Best way to handle link for login-protected pages
I have a e-learning website with free and paid courses.
On my course page, there is link to the lessons.
If it is a paid course, when you click on the link you are redirected to the shop.
See this ...
2
votes
2
answers
1k
views
X-Robots-Tag: noindex on an HTTP 302 response to remove subdomain
This very related to this question "X-Robots-Tag: noindex" on an HTTP 301 response, however I don't see a definitive answer.
We have subdomains we use for our affiliate links, the ...
3
votes
1
answer
41
views
302 or 301 Redirect for This Scenario?
I have a client who had an existing page on their site - example.com/page1. They have had me create another page that covers similar material, but matches some other branding and messaging that they ...
5
votes
2
answers
85
views
301 or 302 Redirect for regularly changing subsites
We have a site https://example.org/forecast/ that at the time of writing redirects to a "time-stamped" (/forecast/month-year/) URL, like so: https://example.org/forecast/june-2022/. Say, in ...
2
votes
2
answers
43
views
Renaming subdomain and keeping traffic
I would like to use a reverse proxy (NGINX) to redirect traffic from let's call it SUBDOMAIN1.example.com/EXAMPLEPAGE to SUBDOMAIN2.example.com/EXAMPLEPAGE
Currently, I rank position 1-2 for most ...
2
votes
1
answer
513
views
Why is this .htaccess evaluating to 302 redirect instead of internal rewrite?
As an example, I was expecting this
https://example.software/credits
to evaluate to an internal rewrite
https://example.software?mode=credits
Why is it showing up on the browser url-bar as a 302 ...
3
votes
1
answer
105
views
SEO. Redirecting a website to my own website
I manage a website www.example.com. I have found another website called www.2.example. I want to talk and merge it with my own completely, so when people enter www.2.example they will end up on the ...
3
votes
2
answers
1k
views
Google and 301/302
we have to solve a problem with Google not correctly indexing our multilanguage sites.
We'll redesign our URLs in the future but until then we need some way to help Google find the different language ...
1
vote
1
answer
50
views
If I buy a domain based on my personal name and redirect it to a blog, will my domain appear when people search for my name?
I have a main webpage that ranks well in a specific city (myprofession+city.com). My problem is that I also want a personal domain (e.g., JohnDoe.com).
So I was thinking if it's possible to buy ...
3
votes
1
answer
332
views
302 response code isn't causing redirect
I'm looking at a page where the server is returning response code 302, and the URL pointed towards is the exact same. In other words, it's redirecting towards itself.
The page does not redirect, nor ...
1
vote
0
answers
276
views
No cookie is sent in a document request redirecting from another domain
The scenario happens when users placing orders on my site and use a third party payment method. They would go to the third party site and complete the payment (via POST request form submission). If ...
1
vote
0
answers
44
views
How to redirect to the latest post/article correctly without impacting SEO?
I'm working on a site that will showcase the latest photos from photographers and there'll be minimum text e.g. description of the photo, location of the photo, etc.
The site will deployed using ...
3
votes
1
answer
308
views
Is there a way to set up a redirect in htaccess to convert a folder/paths to a params
After trawling through posts I have this
RewriteCond %{HTTP_HOST} ^example.software$
RewriteRule ^downloads$ https://example.software\?mode\=downloads&%{QUERY_STRING} [R=302,L]
This works fine ...
3
votes
2
answers
145
views
Should I use 302 redirect when user's browser is out of date?
I want to show the following popup if the user browser is outdated:
I check the client browser and return a 302 redirect to MySite/ErrorPages/OutdatedBrowser page if their browser is too old.
I am ...
2
votes
2
answers
1k
views
How to redirect a single web page other than using htaccess
I'd like to redirect a single web page, it will be a temporary redirect so I don't want it to affect SEO rankings.
So I was thinking of using a method other than htaccess, but if it would be more ...
1
vote
1
answer
74
views
Having issues with Google indexing when using a cookie redirect splash page
I'm currently having issues with a site which is not able to be indexed due to a cookie redirect function that's in place.
To summarize; when a user lands on the webpage for the first time they will ...
2
votes
1
answer
83
views
Is 301 or 302 used for country forwarding?
I want to make country redirects for my site and I am not sure which redirect type is used.
Step 1: First, we enter our website.
Step 1 URL: https://example.com
Step 2: Our website directs us to ...
2
votes
1
answer
486
views
redirecting from www url to non-www url in Google Firebase static hosting
I am using Google Firebase static hosting.
When a user types and enters www.example.com, I want the address to change to example.com and show the user content of example.com.
How can this be achieved? ...
1
vote
0
answers
891
views
Using Redirect 301/302 vs URL shortening service
I'm currently developing an aggregator site that will gather information across many many sites, typically this kind of applications put together relevant topics and display different information from ...
0
votes
1
answer
37
views
Determine if a site has been hacked (HTTP 203 leads to 301 then 302) [closed]
While trying to visit a site earlier that I've previously accessed without an issue, I was oddly redirected to some spammy dating site. Not wanting to try again, I used wheregoes.com to trace the ...
1
vote
2
answers
227
views
How can I do 301 instead of 302 redirects when there are multiple domains sharing the same site hosted in IIS?
I have several domains sharing the same site and use a default.asp as the default file where I test the SERVER_NAME variable and use Response.Redirect to redirect to the home page of the site ...
1
vote
1
answer
117
views
Will it hurt if I redirect the desktop version of URL to AMP pages for mobile
I run a website. For desktop version we have https://example.com/listing/india and corresponding amp pages is https://example.com/amplist/india.
When a request comes from mobile, we automatically ...
1
vote
1
answer
511
views
Apache, Redirect is not working for substring
Issue
In apache, how can I redirect to homepage in case if you will go to exact string, but everything behind this string should be displayed normally, no redirect.
Example.
http://example.com/...
3
votes
2
answers
57
views
Should we have two copies of the same content or do a redirect?
We are a web app for icons and we've got 2 versions of our app:
Old one with icon URLs like http://icons8.com/icons/#!/73/home
New one with icon URLs like http://icons8.com/web-app/73/Home
Both ...
2
votes
1
answer
416
views
Which HTTP response status code is most appropriate for a restricted URL?
I have a page on my website that's targeted at logged-in users only. Logged-out visitors shouldn't see the content.
Imagine the page URL is example.com/upload/.
In cases when users aren't ...
5
votes
1
answer
106
views
Is it good to go live with 302 first and then change it to 301 if everything works perfect
I am in the process of removing duplicate content (or URLs) issue on my website. There are hundreds of similar content links on my website where both URLs one without trailing slash and one with ...
1
vote
0
answers
29
views
What URL will Google index when affiliate URLs first 302 redirect and then have a canonical?
Look please at this setup:
There is a main vendor on the main domain, https://example.com.
There are different (many) affiliates, having own subdomains, sub1.example.com, sub2.example.com,
Affiliate ...
2
votes
1
answer
112
views
Is 302 redirect before 500 a bad practice from SEO perspective?
I want to display 500 error information to the end-user
For instance, it should happen when I request a page https://website.net/crashedPage
There are 2 options:
Option 1
Perform redirect to the page ...
1
vote
1
answer
352
views
Do redirects affect google analytics?
I have a website that redirects in the following manner:
https://example.com/drugs/paracetamol.html
http://example.com/drugs/new-paracetamol.html - 302
https://example.com/drugs/new-paracetamol.html -...
12
votes
2
answers
48k
views
What causes "redirect notice" in Google search?
Occasionally, I get "Redirect Notice" pages when I click on some Google search results. My website does have a landing page redirect, but no redirect notice shows up when I click on it in Google ...
1
vote
1
answer
86
views
prevent google from picking redirecting page as canonical
If have to urls A = https://a.example/foo and B = https://b.example/bar where I consider A as preferred URL and not B. In fact, all B does is send a 302 redirect to A (and it is rather something like ...
1
vote
1
answer
251
views
Old website still found on google but redirects to new site
We have launched a new website replacing our old one, and Google now finds the new and the old website. Our old website was published under /public, the new one is published under /web:
Setup until ...
1
vote
0
answers
166
views
How do I create a RewriteCond for when the query string contains "*" or "?"
If query string contains "star symbol" or ? then I need to redirect to other page, how to check in the following condition that thequery string contains "star symbol" or ?.
RewriteCond %{QUERY_STRING}...
1
vote
1
answer
1k
views
Multiple pages under single directory redirection to a single Page
I have the following scenarios for web page redirects
1) All pages under www.oldexamplesite.com/page/product/New-Design/* and All pages under www.oldexamplesite.com/page/product/nature-of-design-...
1
vote
2
answers
267
views
How do web servers identify the client's location
Many websites directs the user to specific subdomains or domains based on their location. For example, if a user based in the UK types yahoo.com, the user somehow redirected to uk.yahoo.com. If the ...
3
votes
1
answer
227
views
IIS7 rewrite rule triggers 404 rather than redirecting to new pagw
We recently replaced most of our default pages from default.htm to default.asp.
Rewrite rules work fine if it's a sub-folder, e.g. example.com/help/default.asp where the default.htm was deleted. If ...
5
votes
2
answers
9k
views
What’s up with this 302 redirect to the same URL?
I was scanning my website for links that point to HTTP 301/302/303 redirects when I found a puzzling behavior of the curl utility. Consider the output from the following three commands:
$ curl -I ...
1
vote
2
answers
3k
views
How to fix 302 errors in my Google Search Console?
I have so many 302 error in my Google Search Console.
I changed HTTP to HTTPS recently and confusing part in Google Search Console is when I check there's /search.php on the end of every URL. It ...
1
vote
1
answer
75
views
is it recommended to change all old 302 redirections to 301?
I have a client which has 302 redirected all the http pages to https pages 4 years ago.
Now is it recommended to change all the 302 redirections to 301 or should I keep them the same?
Also they have ...
1
vote
1
answer
151
views
lots of 302 redirections google search console excluded URLs
My client 302 redirected all the pages from http to https few years ago. All the http links are accessible in google search console as the excluded links.
Should I do anything to get rid of the 302 ...
4
votes
2
answers
280
views
How do sites avoid SEO issues and legalities with subdomain unique ids?
I was looking through a few websites recently and noticed a trend I am not sure I understand. Sites are creating unique referral URLs for customers in the form of: http://customname.example.com
(If ...
2
votes
2
answers
274
views
SEO and unique IDs in URLs
I have a web site at:
http://example.com
when a new user first hits the web site I am creating a unique ID of 5 characters for them (for example abcde) and redirecting them to http://example.com/...
1
vote
0
answers
93
views
SEO: Redirect root to a sub-dir, build new content on root, keep old rankings for redirected sub-dir
I want to move our page from site.example to www.site.example/home but keep the SEO rankings from when that same content resided on the root domain.
Then I want to build back up the site.example ...
1
vote
1
answer
54
views
Can similar pages with rephrased titles be combined using redirects but still ranking for the different title phrasings?
I'm building a website where each piece of content can have multiple different title/body phrasings which got the same meaning, and each phrasing got its own page (with links connecting to its content ...
0
votes
0
answers
106
views
Googlebot not indexing language subdirectory
I've language based subdirectories, which is changed by user's country.
Let's say if user request from Poland
example.com 302 redirects to example.com/pl
example.com/pl 301 redirects to example.com/...
1
vote
1
answer
72
views
dynamics urls - redirects or rewrite and page SERP position
I'm trying to get my head on this, our site have thousands of links, is an e-commerce site, where products titles require changes on regular basis to get the best of SEO... you know, as usual, we ...
2
votes
1
answer
233
views
Is there any SEO value from an external link that passes through a 302 redirect on the external site?
Our local Chamber of Commerce has an incoming link to us, but they are using an internal ASP page to process the link and using a 302 redirect to send that page to our site. So our anchor text on ...