|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
URL Redirect 301Hi,
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "UrlRewrite" group. To post to this group, send email to urlrewrite@... To unsubscribe from this group, send email to urlrewrite+unsubscribe@... For more options, visit this group at http://groups.google.com/group/urlrewrite?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: URL Redirect 301It 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/index.html) 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> Avlesh<to type="permanent-redirect">/books/test-application-java/$1</to> </rule> Cheers On Tue, Nov 3, 2009 at 3:17 PM, Mahipal Dhoma <dhoma.mahipal@...> wrote: Hi, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "UrlRewrite" group. To post to this group, send email to urlrewrite@... To unsubscribe from this group, send email to urlrewrite+unsubscribe@... For more options, visit this group at http://groups.google.com/group/urlrewrite?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |