Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# SteveLalor 7/24/2007 12:13 PM
Hi all,

I was wondering if anybody knows a method of making a Cuyagoha page into a 301 permanent re-direct. This would be required in the following scenario.

1. Remove a page from Cuyahoga because it is no longer needed.
2. Replace the content with 301 redirect code to a new page or the sitemap.
3. All users who access this page will see a message saying that the page no longer exists and then redirect them.

This is really needed for SEO purposes.

Anybody got any ideas?

Thanks

Steve
# Efie 7/24/2007 9:08 PM
Maybe you can create a module which manages this permanent redirect for you, with a setting where you can manage your redirection url, and in every page moved or deleted you only load this module. When you're using this, it means that you have to maintain your old site-structure.

Chris Love writes about it on his blog: http://professionalaspnet.com/blogs/aspnet_blog/archive/2006/02/14/redirect301.aspx .

Another article with some info:
http://www.aspcode.net/ASPNET-301-redirect.aspx
# hobbis 10/21/2008 12:21 AM
I am getting lots of 302 temporary redirect errors when google bot trawls through my site map. Just wondering how I can address this problem within Cuyahoga? How can I set up a 301 permanent redirect for each page? Where can I change the code to do this if at all? Or is it something I need to do on IIS?

Any help much appreciated.

Thanks,
Chris.
# hobbis 10/22/2008 5:10 PM
Martinj are you out there? Hopefully you can help on this one. Google crawler sometimes is unable to follow some urls. I have a list as an example:


http://www.coolbytes.co.uk/1/view.aspx Redirect error
http://www.coolbytes.co.uk/3/view.aspx Redirect error
http://www.coolbytes.co.uk/Default.aspx Redirect error
http://www.coolbytes.co.uk/ Redirect error
http://www.coolbytes.co.uk/1/view.aspx Redirect error
http://www.coolbytes.co.uk/3/view.aspx Redirect error

These links work ok, so I guess something else is going on. Reading the google notes/more info, it advises some of the following:


This category lists URLs that we were unable to completely follow, along with some information as to why. In general, keep in the mind the following to ensure Google's spiders can follow links in your site:

Use a text browser such as Lynx to examine your site, since many search engines see your site much as Lynx would. If features such as Javascript, cookies, session IDs, frames, DHTML, or Flash keep you from seeing all of your site in a text browser, then search engine spiders may have trouble crawling your site.
If you use dynamic pages (for instance, the URL contains a ? character), be aware that not all search engine spiders crawl dynamic and static pages. It helps to keep the parameters short and the number of them few.
If you are permanently redirecting from one page to another, make sure you're returning the right HTTP status code (301 Moved Permanently).
Where possible, use absolute rather than relative links. (For instance, when linking to another page in your site, link to www.example.com/mypage.html rather than simply mypage.html).
Specific redirect errors you may see listed are:

Redirect error Google was unable to completely follow the redirects from this page. Our guidelines suggest that you make every page on your site reachable from at least one static text link, so that we can access these pages easily. Below are some suggestions about using redirects:

Minimize the number of redirects needed to follow a link from one page to another.
Make sure your redirect timer is set for a relatively short period of time.


Redirect loop error Google began following the redirect but was directed to the same URL more than once. Check to make sure that your redirects don't point to themselves.

Redirect URL too long Google encountered a redirect URL that was longer than the suggested maximum in RFC 2616 (255 bytes). Make sure you aren't automatically appending information to the URL (such as a session ID) when you do a redirect. Also make sure that your site allows search bots to crawl your site without session IDs or arguments that track their path through the site.

Invalid redirect Google followed a redirect from this page but was unable to access that URL. Make sure that your redirects point to valid pages.

Empty redirect Google found a redirect on this page, but it didn't point to anything, so the Googlebot couldn't follow it. Make sure that all of your redirects are valid and not empty.

Cookie error Google had trouble navigating the page due to cookie requirements. Search engines may have trouble crawling sites that use cookies for navigation. Use a text browser to navigate your site to see how a spider might crawl it.


Is there something going on that I can fix in the code? Or is this a code problem at all? Can I set up a permanent redirect status code in Cuyahoga? If so where?

Any help much appreciated.

Thanks,
Chris.