wordpress - disable Rewriterule from 301 -


i've , oldsite lot of pages i've converted new structure wordpress.

i want redirect old products new products wrote whole bunch of 301 redirect on old server new one.

the redirection works rewriterule of new server (set wordpress) create conflict. exemple, if request oldsite.com/fabricationbarriereenfer/page1.html newsite.com/index.phpfabricationbarriereenfer/page1.html

here's corresponding rule on old server:

redirect 301 /fabricationbarriereenfer/page1.html http://www.newsite.com/projets/my-new-url 

and here's rewrite rule of wp:

<ifmodule mod_rewrite.c> rewriteengine on rewritebase / rewriterule ^index\.php$ - [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule . /index.php [l] </ifmodule> 

so there way disable rewriting if come 301? (and btw, rule written?)


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -