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.aspx
But 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?
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.
Thanks for reply Martijn. If this is the case, is anyone else experiencing same problems in google?
Hi
I had the same problem , and found this solution:
just copy the folder below in root.
Folder
Article
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.
hobbisThanks 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.
I'm getting same error. I hope we can find something in short time.
Hi, Anyone was able to find the solution for this problem, I'm getting the same error too.
Take the generated sitemap and create a static xml file.
Thank you, I'll try this solution hope it works.
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
wassimnMy 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:
link
This helps with precompilation and other deplyment settings. You could also check
here for more information.
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. :(
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.
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.
wassimnDo 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.ashx
New hosting should increase speed lots.