Google Friendly 301 redirects for .HTM pages on IIS?

Discussion in 'Google' started by SixSigma, Jul 23, 2008.

  1. #1
    I have a site hosted on a Windows/IIS server and want to convert a bunch of pages from static to dynamic. Since IIS doesn't have .htaccess, I've been researching ways to do this. The two I've seen are:

    1. Create a folder with the name of the old HTML page, then put a index.php page in the folder that redirects to the new page.

    Example:
    Old Page: www.mysite.com/mypage.htm
    New page: www.mysite.com/mypage.php
    Hack: www.mysite.com/mypage.htm/index.php (contains 301 redirect to mypage.php)

    2. Create a 404 page that parses the missing page URL. If it's the old HTM page, it outputs the 301 redirect code.

    Example:
    Old Page: www.mysite.com/mypage.htm
    New page: www.mysite.com/mypage.php
    Hack: www.mysite.com/my404.php (contains 301 redirect to mypage.php for missing mypage.htm)

    ===

    Here's the problem: I'm too chicken to try either of these. If they don't work my SERP's for these pages will get hosed. Has anyone tried either of these methods, and if so, are they Google friendly?
     
    SixSigma, Jul 23, 2008 IP