SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jul 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    301 redirect using ISAPI

    Hi there,

    I have site that I just launched and it is running on a Windows server - not something I am familiar with. I contacted the hosting company and they told me that they have Isapi_rewrite installed and that I should do the redirects using a .htaccess file. I have done .htaccess redirects before, but not on a Windows server. I have been looking around for the right rule to write and have been trying different things with no success.

    Here's a page from the old site:
    http://www.lincolncenterobgyn.com/gynofaq.htm

    Here's the new page:
    http://www.lincolncenterobgyn.com/in...ns-gynecology/

    I would be very grateful for some assistance with what rule I am supposed to use.

    thanks!

    Suzy

  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,183
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    You can simply use something like

    Code:
    Redirect 301 /gynofaq.htm /index.php/frequently-asked-questions-gynecology
    Blog/Portfolio | Evolution Xtreme | DFG Design | DFG Hosting | CSS-Tricks | Stack Overflow | Paul Irish
    Having lame problems with your code? Let us help by using a jsFiddle

  3. #3
    SitePoint Member
    Join Date
    Jul 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Chris, thanks for replying.

    Well, I tried that and it is still there: http://www.lincolncenterobgyn.com/gynofaq.htm

    Was there anything else I am supposed to add like starting it with " RewriteEngine on "?

    Thanks!

  4. #4
    SitePoint Member
    Join Date
    Aug 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To redirect one page to another page:
    Redirect /gynofaq.htm http://www.lincolncenterobgyn.com/in...ns-gynecology/


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •