Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0 support forum
 Helicon Tech : ISAPI_Rewrite 3.0 support forum
Subject Topic: Simple Redirect Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
vortx
Newbie
Newbie


Joined: 06 October 2008
Online Status: Offline
Posts: 1
Posted: 06 October 2008 at 6:26pm | IP Logged Quote vortx

Hello, I am having a problem with a simple redirect and was wondering if someone could help me out.

I want to redirect the following page:
www.domain.com/products/product1.html
to
www.domain.com/product-1.aspx

Here is the code that is not working for me:
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.56
RewriteEngine on
RewriteRule /products/product1.html http://www.domain.com/product-1.aspx [I,L]

Can someone tell me what I am doing wrong? Any help would be appreciated. Thanks.



Back to Top View vortx's Profile Search for other posts by vortx
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4695
Posted: 07 October 2008 at 3:37am | IP Logged Quote Anton

Please try using this config:

RewriteEngine on
RewriteBase /
RewriteRule ^products/product1\.html$ http://www.domain.com/product-1.aspx [NC,R=301,L]

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You can vote in polls in this forum