[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Redirect specific page using isapi rewrite?

Asked by MichaelEvangelista in Microsoft IIS Web Server

Tags: isapi, rewrite, iis, windows server, redirect

I am looking for the full syntax to use in the .htaccess file for a specific site on my IIS server, running Isapi Rewrite and using per-site htaccess files (or I can add rules to global httpd.config )

The goal: redirect a series of old html pages to a specific per-page counterpart in the new cf site, under a new domain.

Example
==========
User requests: http://www.oldsite-here.com/oldpage-here.html
We direct them to: http://www.newsite-here.com/newpage-here.cfm

As an added twist the initial request might be made with or without the 'www' in front.

What should the full content of my .htaccess file be, for the rule above?
If I can see a working full example for the single rule, I can easily duplicate for the other pages.



[+][-]10/15/09 05:42 AM, ID: 25579882Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/15/09 07:31 AM, ID: 25580894Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625