Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
LinkFreeze support forum
 Helicon Tech : LinkFreeze support forum
Subject Topic: http 301 redirect Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
beth
Newbie
Newbie


Joined: 22 June 2005
Location: United States
Online Status: Offline
Posts: 2
Posted: 22 June 2005 at 10:49am | IP Logged Quote beth

Hello,
We are interested in using LinkFreeze for our website, but we are concerned with spamming search engines because both types of URLs would still be supported. In other words www.somewhere.com/file.jsp?a=123&b=456 would point to the same page as www.somewhere.com/file.jsp/a/123/b/456. If a request is received in the old URL format (with the query string) is there a way to configure LinkFreeze to issue a http 301 redirect back to the client with the new link format? Thanks for your help.

-Beth
Back to Top View beth's Profile Search for other posts by beth
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7598
Posted: 22 June 2005 at 12:10pm | IP Logged Quote Lexey

No, this could not be done with LinkFreeze. But you could use ISAPI_Rewrite (even Lite version) along with LinkFreeze to perform such redirect.


__________________
With best wishes,
Alex Ostapenko,
Helicon Tech.
Back to Top View Lexey's Profile Search for other posts by Lexey
 
beth
Newbie
Newbie


Joined: 22 June 2005
Location: United States
Online Status: Offline
Posts: 2
Posted: 22 June 2005 at 12:31pm | IP Logged Quote beth

Thanks.  Would I have to create rewrite rules for all of my URLs and include the redirect flag for each rule,  or is there a simple way to do this?  In other words, is there one rewrite rule that would transform my URLs the same way that Scheme 12 of LinkFreeze transforms them? 
Back to Top View beth's Profile Search for other posts by beth
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7598
Posted: 23 June 2005 at 4:36am | IP Logged Quote Lexey

RewriteRule (.*?\.jsp\?[^&]*)&([^=]+)=(.*) $1/$2/$3 [I,NS]
RewriteCond Host: (.*)
RewriteRule (.*?\.jsp)\?([^=]*)(?:=(.*))? http\://$1$2?3/$3?4/$4:):) [I,R]


__________________
With best wishes,
Alex Ostapenko,
Helicon Tech.
Back to Top View Lexey's Profile Search for other posts by Lexey
 

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