Creating a redirect using ISAPI_REWRITE

Open up a text editor (eg notepad) on your local computer.  Add the following lines

Create a permanent redirect from an old page to a new page

RewriteEngine on 

RewriteRule ^oldpage\.html http://www.mydomain.com/newpage.html [R=301,L]


Create a rewrite rule for each page that you want redirected.
After adding the rules, save your text file as htaccess.txt.
FTP the file to the root of your site and rename as .htaccess.

Redirect from non-ssl to ssl



# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.56

RewriteEngine On
RewriteCond %{SERVER_PORT} !443
RewriteRule (.*) https://www.mydomain.com/ [R]
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Where can I find documentation for ServerObject's AspMail component?

This documentation can be found at: http://www.serverobjects.com/products.html For...

How do I upload files through my web pages?

You can use Software Artisan's SAFileUP. This is an ASP component that allows you to upload files...

What is PageCounter and how do I use it?

About Page Counter PageCounter is an object that counts and displays the number of times a Web...

How do I setup Microsoft Outlook Express to read my e-mail?

Follow these steps: Open Microsoft Outlook Express. From the Tools menu, click...

How do I setup Netscape Messenger to read my e-mail?

Follow these steps: Open Netscape Navigator. Click the Edit menu and then click Preferences......