apache - .htacess need help for removal of multiple dots in urls -


I am trying to redirect to a URL, but giving it an error, we can use ISAPI on our Windows server The URL you are using is trying to redirect me, but it is not redirectioning. The problem is many points.

  rewrite ^ keyword1 / 2 \. \ $ $ Http://www.domain.com/keyword/21212.htm [R = 301]   

In the above example it is not escaping dots

I have other URLs

  RewriteRule ^ keyword1 / 2 \. \. \ ./ Product / 21.htm http://www.domain.com/keyword/21212.htm [R = 301]   

I have used the escape characters for this one again, But it does not seem to work. Can you please help

This URL ... should be removed:

  RiverEngine on Rev. Raul ^ Keyword ... / (. *) $ / keyword / $ 1 [L, NC, R = 301] Regent rules ^ keyword /(.*)/(.*) $ / keywords / $ 2 [L, NC, R = 301]   

Edit: try it

  rewrite ^ bathroom-furniture-shower-null / 2 ... $ / bathroom- flooring-top-hat / 22456 html [l, nc, r = 301]  < / Pre>  

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -