|
|
 Rank: Advanced Member Groups: Member
Joined: 12/11/2007 Posts: 89 Points: 267
|
I have been investigating redirect errors with Cuyahoga sites and wondered if anyone could shed light on a strange problems. I submitted a sitemap to google. But google bot is having problems indexing urls. My platform is Windows 2003 IIS6. Now, using http://web-sniffer.net I can see that when load up a test url on a cuyahoga site, the response i get is 302 found. Then subsequent calls to the same url respond with 200 ok. I then recycle the application, load up the test url and exactly the same thing happens. First response 302, then the rest is 200 ok. I have tried this fix as I thought it might be just the asp.net 2.0 problem: http://www.kowitz.net/archive/2006/12/11/asp.net-2.0-mozilla-browser-detection-hole.aspxBut this did not fix it and i'm not sure because of the sntrange behaviour, that it is the same problem. Can anyone shed light on this? Web Developer, Kent - Coolbytes
|
|
 Rank: Administration Groups: Administration
, Member
Joined: 12/30/2004 Posts: 1,674 Points: 1,824 Location: Wageningen (NL)
|
Cuyahoga sites always do a redirect after the first request. This is required because the NHibernate configuration can change during the first request and we don't want to end up with invalid sessions.
So, the 302 on the first request is by design.
|
|
 Rank: Advanced Member Groups: Member
Joined: 12/11/2007 Posts: 89 Points: 267
|
Thanks for reply Martijn. If this is the case, is anyone else experiencing same problems in google? Web Developer, Kent - Coolbytes
|
|
Rank: Advanced Member Groups: Member
Joined: 6/18/2007 Posts: 39 Points: 117
|
Hi I had the same problem , and found this solution: just copy the folder below in root. FolderArticle
|
|
 Rank: Advanced Member Groups: Member
Joined: 12/11/2007 Posts: 89 Points: 267
|
Thanks goolz but this is the fix I was on about in my first post. From the kowitz website. The links you have posted are essentially the same as mine. The way I got around it was by not using the google sitemap module directly for google webmaster, but simply creating a plain xml file and copying the module output to this. Google appears to prefer this instead of the dynamic version. Because of the initial 302 response maybe. Web Developer, Kent - Coolbytes
|
|
Rank: Advanced Member Groups: Member
Joined: 6/18/2007 Posts: 39 Points: 117
|
hobbis wrote:Thanks goolz but this is the fix I was on about in my first post. From the kowitz website. The links you have posted are essentially the same as mine. Ops You are right , I just read the title, I have no idea about this now, I'm trying to find a solution.
|
|
Rank: Newbie Groups: Member
Joined: 7/2/2009 Posts: 3 Points: 9
|
I'm getting same error. I hope we can find something in short time.
|
|
Rank: Newbie Groups: Member
Joined: 5/11/2009 Posts: 9 Points: 27
|
Hi, Anyone was able to find the solution for this problem, I'm getting the same error too.
|
|
Rank: Administration Groups: Administration
, Member
Joined: 10/7/2008 Posts: 505 Points: 1,515
|
Take the generated sitemap and create a static xml file.
|
|
Rank: Newbie Groups: Member
Joined: 5/11/2009 Posts: 9 Points: 27
|
Thank you, I'll try this solution hope it works.
|
|
Rank: Newbie Groups: Member
Joined: 5/11/2009 Posts: 9 Points: 27
|
My problem is basically the loading for the first time, I tried your solution but seems its not solving the long loading time when opening the page for the first time. Any other ideas
|
|
Rank: Administration Groups: Administration
, Member
Joined: 10/7/2008 Posts: 505 Points: 1,515
|
wassimn wrote:My problem is basically the loading for the first time, I tried your solution but seems its not solving the long loading time when opening the page for the first time. Any other ideas Have you tried to use precompilation to reduce first-load times? I use web deployment projects: linkThis helps with precompilation and other deplyment settings. You could also check here for more information.
|
|
Rank: Newbie Groups: Member
Joined: 5/11/2009 Posts: 9 Points: 27
|
The problem is with the redirection, its taking forever. Tried to check headers using http://web-sniffer.net/ & http://loadimpact.com/ and both sites shows me the problem is in redirection not loading assemblies. My site I'm trying to build is limebox.me. Hope you can help me in that.
|
|
Rank: Administration Groups: Administration
, Member
Joined: 10/7/2008 Posts: 505 Points: 1,515
|
I made this post about a year ago. It may help: There is an issue with ASP.NET HTML HTML32TextWriter from what I can make out is something like this. When someone requests a page from the server hosting your site it is processed and when it comes to be dumped to the screen a specific version of HTML TextWriter is chosen to render the mark-up, based upon the browser requesting it (and it capabilities). The HTML32TextWriter renders HTML equivalent to a version 3 browsers capability. The HTML32TextWriter has a bug (that was fixed in ASP.NET 3.5 sp1). The bug involves RewritePath method to grab the sessionid from the URL. To actually get this bug would mean using a browser of such antiquity (user agent is of a 'version 3 browser', cookies turned off etc...) that the server uses the HTML32TextWriter. The search engine robots did exactly this.. Not sure this is the same issue, but I found it interesting. The advice to fix was to force cookies in web.config form authentication Use a '.browser' file Upgrade environment to ASP.NET 3.5 sp1 http://www.polymorphicpodcast.com/shows/aspnetseo/Take a look, it may be that (although I hope your hosting would have been upgraded to take care of this). I did find the site VERY slow loading. I would advise looking at your hosting setup.
|
|
Rank: Newbie Groups: Member
Joined: 5/11/2009 Posts: 9 Points: 27
|
Do you recommend any hosting plan, to save time and hassle?? Because this seems an endless issue and I wont be able to fix it  Did the browser file, changed the cookieless attribute in web.config. I dunno what else should I do.
|
|
Rank: Administration Groups: Administration
, Member
Joined: 10/7/2008 Posts: 505 Points: 1,515
|
wassimn wrote:Do you recommend any hosting plan, to save time and hassle?? Because this seems an endless issue and I wont be able to fix it  Did the browser file, changed the cookieless attribute in web.config. I dunno what else should I do. Try these: http://wiki.cuyahoga-project.org/Hosting%20Services.ashxNew hosting should increase speed lots.
|
|
|
Guest |