Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: how to write a basic 301 rewrite? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jarv
Newbie
Newbie


Joined: 19 June 2010
Online Status: Offline
Posts: 3
Posted: 20 June 2010 at 3:50am | IP Logged Quote jarv

hi, I have just created the .htaccess file on my server, Helicon is installed and in my file I have the line:

Redirect 301 http://www.jbiddulph.com/cms/default.asp?PageNo=5 http://www.jbiddulph.com.com/cms/admin

it isn't working?!
 
please help!
Back to Top View jarv's Profile Search for other posts by jarv
 
jarv
Newbie
Newbie


Joined: 19 June 2010
Online Status: Offline
Posts: 3
Posted: 20 June 2010 at 1:38pm | IP Logged Quote jarv

can someone please help me here?
Back to Top View jarv's Profile Search for other posts by jarv
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10489
Posted: 21 June 2010 at 1:59am | IP Logged Quote Anton

Your syntax is wrong. Here's the correct one (for ISAPI_Rewrite 3!):

RewriteBase /
RewriteCond %{QUERY_STRING} ^PageNo=5$ [NC]
RewriteRule ^cms/default\.asp$ cms/admin? [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 cannot vote in polls in this forum