6000 errors in log. Mostly 404
- William_firefold
- Commander (CMDR)
- Posts: 186
- Joined: Fri Aug 01, 2008 8:38 am
6000 errors in log. Mostly 404
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?
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?
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
Re: 6000 errors in log. Mostly 404
Hello William,
I'd suggest setting up 301's for the old addresses.
I'd suggest setting up 301's for the old addresses.
Re: 6000 errors in log. Mostly 404
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.
You dont want to ignore 404's.
Re: 6000 errors in log. Mostly 404
WIKI topic about 301 redirects
http://wiki.ablecommerce.com/index.php/ ... leCommerce
http://wiki.ablecommerce.com/index.php/ ... leCommerce
Re: 6000 errors in log. Mostly 404
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?
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
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>
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>
- William_firefold
- Commander (CMDR)
- Posts: 186
- Joined: Fri Aug 01, 2008 8:38 am
Re: 6000 errors in log. Mostly 404
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.
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.