http-status-code-302

Will a 302 redirect maintain the referer string?

Hello all, I need to redirect the user from one page to another, but I need to maintain the original referer string. So, for example, if they start out on http://www.othersite.com/pageA.jsp, click a link that takes them to http://www.mysite.com/pageB.jsp, which then executes a 302 redirect to http://www.mysite.com/pageC.jsp, I need th...

Using Apache Rewrite to go from HTTP to HTTPS and vice-versa, but I get a 302 response and my app errors out.

I really hope someone knows what I'm doing wrong here, cuz I sure don't! We have a certain page on our site which has account balance information on it, and we want to make it secure with SSL. But we only want this one particular page to be secure. I have the following in the localhost:80 virtualhost, and it works perfect: RewriteCon...

Why do I get two redirectResponses when receiving one 302 response?

I use the following code: - (NSURLRequest *)connection:(NSURLConnection *)connection willSendRequest:(NSURLRequest *)request redirectResponse:(NSHTTPURLResponse *)response { NSLog(@"Received redirect Response: %@ %@", [response allHeaderFields], [NSHTTPURLResponse localizedStringForStatusCode:[response statusCode]]); return request; } ...

SEO - Problems possibly related to 301 Moved Permanently

Right, here's the story: We have had a website for one of our brands now for many years, the site design was very bad and recently did a complete overhaul, mostly design, but also some of the backend code. The original site was using links such as this example.com/products/item/127 and thus I wanted to change them to be move user frien...

How to make a Webservice request follow a redirect?

My application neeeds to access a third part web service. Of late, they have introduced a load balancer, which redirects to the server. Because of this the webservice gets a 302 - Redirect error as response. In the SOAPUI, I was able to enable a property called "Follow Redirect", and because of this service followed the redirect and s...

Webservice Follow Redirect False - Error 302 (JAXWS)

This is a link to a question I had asked two days back, http://stackoverflow.com/questions/2573858/how-to-make-a-webservice-request-follow-a-redirect I am using jaxws library. The service forms the URL, and then internally creates the HTTPURLConnection. If I can grab hold of the connection I would be able to set the followRedirect to ...

.net site all pages do a 302 redirect with AspxAutoDetectCookieSupport

Hello, First let me say that I did see this article: http://stackoverflow.com/questions/1045283/how-to-remove-aspxautodetectcookiesupport However it seems like it fixes the url issue, but not the 302 AspxAutoDetectCookieSupport issue. I've also read just about every other article on the web about this issue. I could really use some help...

c# ASP HttpResponse with redirect causes HTTP 302

Hi, I have a flow of web pages A and B. On the web page A, I do a "Response.Redirect("B.aspx"); The page B needs a client certificate. When the redirect is done I see a popup asking for a client certificate. I select the correct certificate, which is retrieved from a smart card, and then I insert the pin. Right after, I see a page sayin...

How to catch an expected (and intended) 302 Ajax response?

So, if you look back at my previous question about Exchange Autodiscover, you'll see that the easiet way to get the autodiscover URL is to send a non-secure, non-authenticated GET request to the server, ala: http://autodiscover.exchangeserver.org/autodiscover/autodiscover.xml The server will respond with a 302 redirect with the correct...

Why does a Non-existant page returns 302 status when using a custom 404 page in asp.net

I have setup a custom 404 page custom404.aspx that returns a "404 Not Found" error correctly, however the non-existant page that was initially requested returns a "302 Found" status. So when I test thispagedoesnotexist.aspx, it returns a "302 Found" then the custom404.aspx loads and returns a "404 Not Found" status. I want to make sure...

HTTP Builder/Groovy - lost 302 (redirect) handling?

Dear All: I am reading here http://groovy.codehaus.org/modules/http-builder/doc/handlers.html "In cases where a response sends a redirect status code, this is handled internally by Apache HttpClient, which by default will simply follow the redirect by re-sending the request to the new URL. You do not need to do anything special in order...

The TRUTH about 302 redirects and SEO?

So... what is the truth about 302 redirects and where is someone with empirical evidence that proves that clean 302 redirects from one site to another does not carry link juice? Recently, I've had overlay frantic people I link to wanting me to change my links to be direct rather than redirects. I have a high-traffic and well-indexed si...

IE6 does not follow 302 redirect - displays 404 instead

One of our clients has reported that they are experiencing 404 (file not found) errors when attempting to navigate a website that we developed. The behaviour only appears to affect her - other users on the same machine can navigate the website fine, but the problem follows her from one PC to another. I've had a good look through the II...

DotNetNuke/.NET Ajax Redirect Issue

I'm working on a DotNetNuke site which has both a staging and production server. The issue right now is with a specific NB_Store menu, but I believe is actually an issue throughout the site. On production, clicking the edit links in the product admin works fine. It appears that clicking the edit buttons sends an AJAX post request back t...

Form POST returns 302 from within Joomla, works great outside

I have a form that submit a shopping cart to Google Checkout. The form works great on it's own, but when I put it inside of Joomla (using a content-type of wrapper), Google Checkout throws a 302, and the form page is loaded again. As I was writing this, I then decided to see what happens from the static form, outside of Joomla. It took ...

Website returns 302 instead of 200

Well this one freaks me out. I used a Http Header check tool to check the headers of my webpage and guess what. In every request the response was 302 instead of 200. domain.con www.domain.con http://www.domain.con So, am i missing something here? I have not placed any redirect in any way. So where the f#$% my website redirects? Is t...

Temporary redirect 302 with .htaccess and mod-rewrite matching expression

Hi! I'm trying to match a a bunch of redirects for my website with basically moved to a different folder on the server. I need to make http://www.site.com/index.php?page=anypage go to http://www.site.com/newfolder/index.php?page=anypage. The thing is http://www.site.com/index.php and http://www.site.com/index.php?page=home should remain ...

uwsgi / mod_wsgi handling pylons redirect_to & error pages

My stack is nginx > uwsgi > pylons. If I use redirect_to on a controller, the app throws a 302 error. Also I don't see any 404 or 500 error pages anymore that worked fine in paste. Any pointers would be greatly appreciated. Thanks. ...

Redirect PageRank and cannonical status only from one site to another.

My question is a follow up of Redirecting URLs temporary with htaccess which was solved thanks to the SO community. I realized that I have a 2010 version of my site and a 2011 version which is about to launch. Both share a same structure but content is different and will be archived as such (not a archived category) because it is a fashi...

POST requests fail when <sessionState cookieless="AutoDetect" /> is set

Consider the following case: A web server is running a .NET app with <sessionState cookieless="AutoDetect" />. A client is POSTing data to it using a simple HttpWebRequest (no cookies). This seemingly simple case causes major failure. Since .NET can't determine if the requesting agent (HttpWebRequest) supports cookies, it responds t...