Redirect deep link to domain

Discussion in 'Search Engine Optimization' started by patrick0001, Jul 27, 2011.

  1. #1
    RewriteCond %{HTTP_HOST} ^powercoolfilm\.com\.my$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.powercoolfilm\.com\.my$
    RewriteRule ^news\/indexbe3bbe3b\.html$?p=145 "http\:\/\/www\.powercoolfilm\.com\.my\/" [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^powercoolfilm\.com\.my$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.powercoolfilm\.com\.my$
    RewriteRule ^news\/indexc728c728\.html$?cat=7 "http\:\/\/www\.powercoolfilm\.com\.my\/" [R=301,L]
    Code (markup):
    Recently I redesign a site http://www.powercoolfilm.com.my/. Some of the link become invalid, I have no problem to redirect normal link. When come to deep link redirection it keep showing error, is my .htaccess code correct?

    Next question, any better way to do bulk redirect? Any tool?
     
    patrick0001, Jul 27, 2011 IP