April 2008 - Posts

These tools can help you analyze your pages and optimize them for improved search engine rankings.

1. Yahoo Site Explorer: Allows you to see which pages are linking to your site. For example, link:isom.uoregon.edu will show you all pages that link to isom.uoregon.edu

2. Google Webmaster tools: Tools that ensure Google is indexing your site correctly.

More tools coming soon.

Some of the information in this post is from a presentation given by Andrea Loreto of SEO Architect

Posted by gcastner | with no comments

To avoid displaying the complicated error messages displayed by the .NET framework, you can direct users to a more user-friendly page by inserting the following tags into your web.config file:

<customErrors mode="RemoteOnly" defaultRedirect="errors/error.aspx">
     <error statusCode="404" redirect="errors/error404.aspx"/>
</customErrors>

Using this method of error handling also has the added benefit of not displaying sensitive server information to the user (or potential hacker). "RemoteOnly" means that the error messages are still displayed in their normal format if viewing the pages on the web server itself. You can also view the error messages in the server's event viewer or e-mail the errors to a system administrator by inserting the following code (or similar) into your global.asax file:

    Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
        Dim varCurrentException As Exception
        varCurrentException = Server.GetLastError.InnerException()
    
        'E-mail to system administrator
        Dim client As New SmtpClient
        Dim message As New MailMessage
        message.Body = "Error: " & varCurrentException.ToString & "<br/><br/>Source: " & Request.Url.ToString
        message.Subject = "DSC488588 Web Site Error"
        message.From = New MailAddress("name@domain.com", "System Adminstrator")
        message.IsBodyHtml = True 'Assume HTML format for website owner

        message.To.Add("name@domain.com")
        client.Send(message)
    End Sub

Remember that it is better to explicitly handle individual errors (for example, using Try, Catch) rather than relying on this catch-all method for handling all errors. Use this method for detecting any remaining errors but consider handling them individually if they reoccur.

Posted by gcastner | with no comments
Filed under: ,

1. uoregon email

The UO IT department has a great page with instructions for viewing your uoregon e-mail through Outlook and other e-mail programs:

http://it.uoregon.edu/help/email/setup.shtml

If you do use Outlook, my suggestion is that you use POP (the server is pop.uoregon.edu) rather than IMAP so that all your e-mail (if you have multiple e-mail accounts in Outlook) all goes into the one Inbox.

2. Hotmail

Use the Microsoft Outlook connector available at http://www.microsoft.com/downloads/details.aspx?FamilyID=7aad7e6a-931e-438a-950c-5e9ea66322d4&displaylang=en

3. Gmail

Follow the instructions at http://mail.google.com/support/bin/answer.py?answer=86374