Page 1 of 1
6000 errors in log. Mostly 404
Posted: Fri Oct 16, 2009 5:57 am
by William_firefold
Is there a way to make it stop logging errors of the 404 variety?
For some reason, someone or something is visiting addresses from our old BVcommerce site, and its causing mass 404 errors on our Able site.
Should we try to set up 301s for all the addresses we are getting errors for, or would hiding the 404s be ok?
Re: 6000 errors in log. Mostly 404
Posted: Tue Oct 20, 2009 12:04 pm
by Shopping Cart Admin
Hello William,
I'd suggest setting up 301's for the old addresses.
Re: 6000 errors in log. Mostly 404
Posted: Tue Oct 20, 2009 12:47 pm
by kastnerd
Defiantly, If you set 301 errors, the user would get directed to the correct page and any bot's would update it with the new page.
You dont want to ignore 404's.
Re: 6000 errors in log. Mostly 404
Posted: Wed Oct 21, 2009 2:35 am
by mazhar
Re: 6000 errors in log. Mostly 404
Posted: Wed Oct 21, 2009 9:12 am
by Mike718NY
I have about 300 "static" pages from the old site that are going to become
dynamically generated pages when the website is converted to AC7.
Here is an example of one of the 300 pages:
www.OldWebsite.com/store/Bracelets/Bracelets.aspx
But for the new AC7 site, the Categories are dynamically generated
and are not static pages, example:
www.NewWebsite/Bracelets-C11.aspx
Do I need to click a Category link from the new AC7 website
to "get" that link and use that link for the value in "redirectLocation" :
private void Page_Init(object sender, System.EventArgs e)
{
string redirectLocation = "
http://www.NewWebsite/Bracelets-C11.aspx";
......
Another problem. The old website was coded in VB.NET.
The code wiki.ablecommerce requires C#. Is there a way around this?
Re: 6000 errors in log. Mostly 404
Posted: Thu Oct 22, 2009 7:23 am
by Mike718NY
Could either one these options be used for 301 redirects:
IIS Redirect
In internet services manager, right click on the file or folder you wish to redirect
Select the radio titled "a redirection to a URL".
Enter the redirection page
Check "The exact url entered above" and the "A permanent redirection for this resource"
Click on 'Apply'
Or . .
ASP .NET Redirect
<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","
http://www.new-url.com");
}
</script>
Re: 6000 errors in log. Mostly 404
Posted: Fri Oct 23, 2009 6:28 am
by William_firefold
you can do that, and it would work as a global 301, but it cant address each page individually.
We had a program which was a rewrite mod for IIS which acted like an htaccess file, and allowed us to have thousands of individual 301 redirects, specific to each product. We assumed that after 6 months of having those on the server, that search engines would have remapped themselves by now. For some reason they did not, and we keep getting 404 errors by the truckload.