Questions tagged [302-redirect]

302 is the HTTP status code for a temporary redirect.

Filter by
Sorted by
Tagged with
3
votes
1answer
31 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
2answers
88 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
1answer
36 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 ...
1
vote
1answer
16 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
1answer
73 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? ...
0
votes
1answer
26 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
2answers
31 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
1answer
32 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 ...
5
votes
1answer
89 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
1answer
216 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/...
1
vote
0answers
27 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
1answer
63 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
1answer
109 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 -...
1
vote
1answer
30 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
0answers
41 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
1answer
134 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
1answer
875 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
2answers
132 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
1answer
75 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 ...
1
vote
1answer
61 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
1answer
80 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 ...
1
vote
2answers
2k 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 ...
11
votes
2answers
36k 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
1answer
45 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
0answers
84 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
0answers
86 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
1answer
66 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 ...
1
vote
1answer
173 views

404 or 302 Redirect - what to use for a url which may be used in the future but not available at the moment

My site lists blogs like this example.com/?status=blog&id=number I only have 3 blogs now (id=1, id=2 and id=3). I checked my log files and saw that search bots are manipulating the URLs and ...
3
votes
1answer
425 views

Will Google rankings improve if I use a meta-refresh in a second rather than an immediate 302 redirect?

Will the Google ranking of my page increase when I use a meta refresh with a timer of 2 seconds instead of a 302 redirect without a timer? I'm using this code: <meta http-equiv="refresh" content="...
0
votes
1answer
607 views

Should redirecting URLs be included or excluded from the XML sitemap? [duplicate]

Currently, we're working on optimizing a website for search engines. Would you advise adding to the XML sitemap the URLs of the pages that are being redirected, or the redirect target URLs? In my ...
2
votes
1answer
2k views

Is it good SEO to 302 redirect from root URL to language and region subdirectory for the user, then tell Google about altenate sites in the sitemap?

We use subdirectories on a global top level domain for a multi-regional site: When a user from Iran enters www.exmple.com it 302 redirects to www.example.com/fa-IR. When user enter from the US enters ...
3
votes
2answers
1k views

How bad is it for SEO to use at 302 redirection instead of 301 redirection for HTTPS?

Recently my client has configured HTTPS. I recommended that he implement 301 redirection to 200. His developer could not do that and it is still using 302 redirects. How bad it can affect a website ...
1
vote
1answer
42 views

What redirection should I use whether I am not sure it is temporary or permanent?

I know that 301 redirection for permanent redirection. 302 for temporary redirects. I want to redirect author pages to BuddyPress profile pages in WordPress. I am not sure that it will be permanent. ...
1
vote
1answer
533 views

.htaccess to force SSL and also rewrite such that the content is served from a sub-folder

The issue is how to do two things: force SSL on all requests, and redirect the domain to the public_html/somefolder - where the site/domain content lives. The recommendation from the hosting place (...
2
votes
1answer
375 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 ...
1
vote
1answer
419 views

Which is longer cached by SE robots or browsers, redirect 301 or 302

I have looked on Stack Exchange but didn't find the solution for my problem. The problem: I have a website and want to become an SEO hero. So, I also need to choose status codes... I know that there ...
2
votes
1answer
234 views

Under construction page bad for SEO?

For our customer we need to develop a brand new website which will replace the current one. He wants to remove the current 'ugly' site completely and show an underconstruction page untill the new ...
8
votes
1answer
2k views

Should I use 301 or 302 for location-based redirects?

I'm setting up geo-redirects for my site and am unsure which redirect type to use. I've read many articles on this subject, but still do not have a clear answer. Here's the plan: Visitor lands on ...
2
votes
0answers
122 views

Mobile version of a website showing up on my desktop google search

I search certain keywords in desktop google search and mobile version of my website shows up, vise versa. I use some methods to solve this problem: use <link rel="alternate"> and <link rel="...
1
vote
0answers
564 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 ...
8
votes
10answers
3k views

Is there a safe way to redirect traffic from a dozen old websites to a new (unrelated) website?

Over the years I've built over a dozen unsuccessful sites. They get 10-100 visitors per day each. The topics include all kinds of random things - recipes, hiking tips, military equipment, gym bloopers,...
3
votes
1answer
52 views

Ending a 302 redirect and its effect on Pagerank

Please imagine the following scenario: abc.com → 302 (temporary) redirect to def.com After 6 months, we no longer use def.com, so discard the domain and we buy a new domain xyz.com. We then do a 302 ...
0
votes
0answers
149 views

Search Console Fetch Not Found and Redirect

When fetching a URL in Search Console i get 3 results; success, redirect and not found. Can I ignore the redirect warnings or is Google telling me there is a problem? The not found pages; I can not ...
1
vote
1answer
37 views

How can I host a website on another domain without sacrificing SEO?

I have a domain bought at Godaddy, but I do not have a hosting service there. Rather, I have a subdomain on another site that I control, and forward it using a 302 temporary redirect. However, I have ...
1
vote
0answers
81 views

Why are redirected URLs displayed in SERP?

I use a permalink redirect mode for affiliate links. Something similar to www.example.com/out/google → this will 302 redirect to google.com. All these redirected URLs display in search using the ...
1
vote
1answer
357 views

How to get my site verified in Google Webmaster Tools(Search Console)?

One of my client site's home page is getting redirected to an internal page so how will it create any problem in getting it verified from Google Webmaster Tools? Moreover he has used 302 redirect so ...
0
votes
1answer
81 views

Temporarily redirect pages to a section of a landing page?

I have created a single page landing page while I redesign my website that has sections for popular pages. So the landing page has an events section, location section, contact section etc. How do I ...
6
votes
2answers
1k views

Is a masked 307 redirect for a domain possible?

I've been asked to create a 307 redirect for a domain, ensuring it is "masked". i.e. keep the original URL in the address bar. There isn't a lot of info available about 307 (as opposed to 301/302) ...
1
vote
1answer
119 views

SEO - Redirect domain root to different url for landing page

I plan to to put my web app to say http://example.com but for now i have only landing page with signup form. I thought about putting LP to http://example.com/welcome and I feel that this should be 302 ...
1
vote
1answer
30 views

Product Bundles - Choosing 301 or 302 When Redirecting All Child Items to 1 Parent

Let's say there is a product "Stainless BBQ Grill" which has various extra options available by "adding on" additional products. Lets call it a bundle/group/kit...components like side burner, digital ...