> has to be redirected to a different URL.
>
> <rule>
> <from>^/community/([0-9A-Za-z_-]+)/([0-9]+)/b/t/([^/|.]+)/([^/|.]
> +)/?$</from>
> <to type="permanent-redirect">http://somedomain.com/community/a/ > relevance/b/t/$3/$4/q/$1/$2</to>
> </rule>
>
> Where the values are mapped as following....
>
> $1 = a
> $2 = 1
> $3 = Financial+Services
> $4 = Investment+Banking
>
> Expected URL :
>
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
I tried using <to encode="true" type="permanent-redirect" ... The +
(plus sign) gets encoded as %20.
How can I retain the + (plus sign) in the redirected URL?
Thanks,
Rohit
sunil
unread,
Nov 5, 2008, 11:00:45 PM11/5/08
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
Didn't try this, but guess this could help:
<urlrewrite decode-using="null">. This should disable the filter from
decoding the URL, which means the '+' sign will not change to space.
Additionally, you might want to revert back <to> to encode="false".
NOTE: This change will disable decoding for all rules.
- Sunil
WILLIAMer
unread,
Dec 4, 2009, 12:57:54 AM12/4/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
Is there anybody solve question?
I got the same problem that plus sign became space.
So, i cant get the complete value from request.
Because the plus sign replaced by space.