Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0
 Helicon Tech : ISAPI_Rewrite 3.0
Subject Topic: Redirect Map for 2000+ urls? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jnunez
Newbie
Newbie


Joined: 23 July 2010
Location: United States
Online Status: Offline
Posts: 3
Posted: 23 July 2010 at 11:04am | IP Logged Quote jnunez

I have 2000+ urls that I need to redirect and these will continue to come in
as they are found. Tried to use RedirectMap but it just redirects to the home
page.

Here is the rule I was using...

RewriteRule ^(.*\.html) ${oldurlmap:$1}

the map file has the following:
/waves+&+craves.html /products/waves-and-craves
Back to Top View jnunez's Profile Search for other posts by jnunez
 
AndrushkaUS
Senior Member
Senior Member


Joined: 13 November 2009
Location: United States
Online Status: Offline
Posts: 1545
Posted: 26 July 2010 at 5:28am | IP Logged Quote AndrushkaUS

Hello.

I'm sorry but I do not see the question or an issue.
The rule looks fair, though there're no flags used. Try to add [NC,R=301,L]

Regards
Andrew

__________________
The will to conquer is the first condition of VICTORY
Back to Top View AndrushkaUS's Profile Search for other posts by AndrushkaUS
 
jnunez
Newbie
Newbie


Joined: 23 July 2010
Location: United States
Online Status: Offline
Posts: 3
Posted: 27 July 2010 at 2:48pm | IP Logged Quote jnunez

Hi AndrushkaUS,

I added the flag and here is what I get...
http://domain.com/%24%7boldurlmap:%24%7boldurlmap:%24%7boldurlm
ap:%24%7boldurl...

Just a constant redirect.

Here is the current state of the rules:
RewriteMap oldurlmap txt:oldurl_redirect.map
RewriteRule ^(.*) ${oldurlmap:$1} [NC,R=301,L]

Tried to log and nothing is ever recorded.
Back to Top View jnunez's Profile Search for other posts by jnunez
 
AndrushkaUS
Senior Member
Senior Member


Joined: 13 November 2009
Location: United States
Online Status: Offline
Posts: 1545
Posted: 28 July 2010 at 10:18am | IP Logged Quote AndrushkaUS

Hi,

It's something random. It seems the loop has occurred, so that mapfile wasn't recognized.
Please, provide information on build, you operating system and log file.

Regards
Andrew

__________________
The will to conquer is the first condition of VICTORY
Back to Top View AndrushkaUS's Profile Search for other posts by AndrushkaUS
 

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