I am trying to perform a simple url rewrite however it seems everything I try does not do what I am expecting.
I am using UrlRewrite 2.5 plugin from tuckey.org
Basically I just want to redirect http://wiki/marketing to http://wiki/display/CORP/Marketing so my end users dont have to type the exra display/CORP.
Here is once example that I tried in my urlrewrite.xml file
<rule>
<from>^/maketing$</from> <to type="redirect">/display/CORP/Marketing</to>
</rule>
The <from> value you have there is "maketing", it should be "marketing" (with an "r").
mod_rewrite works for sure:
RewriteEngine on
RewriteRule ^/marketing$ /display/CORP/Marketing [R]
2 cents: I never tried this one, but I imagine that the order of the filters is important, so try to move your filter declaration as the first one (so that this is invoked first).
I also think that you should come with more info. What kind of problems do you have ? (what is happening ?)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for you answer... I will give this a try.
Basically nothing happends as if the rule does not exist.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried to enable some debug on it ?
<init-param>
<param-name>logLevel</param-name>
<param-value>DEBUG</param-value>
</init-param>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
well ? works ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was able to get this working by upgrading to conf 4.1 and installing a redirect plugin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.