Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
URL Redirect 301
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mahipal Dhoma  
View profile  
 More options Nov 3, 4:47 am
From: Mahipal Dhoma <dhoma.mahi...@gmail.com>
Date: Tue, 3 Nov 2009 15:17:10 +0530
Local: Tues, Nov 3 2009 4:47 am
Subject: URL Redirect 301

Hi,

Please help me out with the below scenario.

1. We have a new started e-commerce portal where the URL's are indexed by
Google. Google has indexed the URL's and the URL looks like

     http://www.examplecom/product/test-application-java/p123456789

     Now we need to do a 301 permanent redirect to

      http://www.examplecom/books/test-application-java/p123456789

We are using Apache with Tomcat (URL Rewriting). Please help me out with
this scenario where we should not loose the indexed URL's.

Thanks in Advance.

Regards,
Mahi


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Avlesh Singh  
View profile  
 More options Nov 3, 5:03 am
From: Avlesh Singh <avl...@gmail.com>
Date: Tue, 3 Nov 2009 15:33:57 +0530
Local: Tues, Nov 3 2009 5:03 am
Subject: Re: URL Redirect 301

It can't get simpler than this. I would recommend going through the manual
in future (
http://urlrewritefilter.googlecode.com/svn/trunk/src/doc/manual/3.2/i...)
before asking questions on the mailing list.

The rule underneath in your urlrewrite.xml file should do the trick -
<rule>
  <from>/product/test-
application-java/(.*)</from>
  <to type="permanent-redirect">/books/test-application-java/$1</to>
</rule>

Cheers
Avlesh

On Tue, Nov 3, 2009 at 3:17 PM, Mahipal Dhoma <dhoma.mahi...@gmail.com>wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google