Groups
Groups
Sign in
Groups
Groups
UrlRewrite
Conversations
About
Send feedback
Help
URL Redirect 301
6 views
Skip to first unread message
Mahipal Dhoma
unread,
Nov 3, 2009, 4:47:10 AM
11/3/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to urlre...@googlegroups.com, Avlesh Singh
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
Avlesh Singh
unread,
Nov 3, 2009, 5:03:57 AM
11/3/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to UrlRewrite
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/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>
<to type="permanent-redirect">/books/test-application-java/$1</to>
</rule>
Cheers
Avlesh
Reply all
Reply to author
Forward
0 new messages