Comments

  1. I’m still trying to understand this. I’m trying to redirect a single file and that current file is a .pdf and I want to change it to go to an html file that I created.

    .htaccess is a text file correct?

    So I would create a text file in say notepad and do the following? Please correct me if I’m wrong.. and it would seem that way at the moment because I’m not getting this to work.

    Redirect 301 http:/ILLINOIS FORECLOSURE TIMELINE.pdf http://www.foxvalleypropertysolutions.com/ILLINOISFORECLOSURETIMELINE.html

    August 30, 2009 at 11:26 am |
  2. Anthony:

    I just tried this and it’s trying to redirect each page within the old directory to the same page in the new directory (i.e. /old/page-1.html to /new/page-1.html). I want all pages within /old/ to point to a single page (specifically the home page). Isn’t that what you said this code should accomplish?

    This is what I’m doing:
    RedirectMatch 301 /parent/sub/ http://example.com

    What am I doing wrong?

    May 7, 2012 at 10:48 am |

Leave a Reply

You must be logged in to post a comment.