Can the .htaccess file slow down a website to a crawl? If so, are there better ways to solve these problems with different rewrite rules and such?

Posted by Parimal on Pro Webmasters See other posts from Pro Webmasters or by Parimal
Published on 2013-05-01T06:39:54Z Indexed on 2014/05/26 22:05 UTC
Read the original article Hit count: 560

Filed under:
|

here is my htaccess file......

RewriteCond %{REQUEST_URI}  ^/patients/billing/FAQ_billing\.html$ [OR]  
RewriteCond %{REQUEST_URI}  ^/patients/billing/getintouch\.html$   
RewriteRule ^patients/billing/(.*)\.html$  $1.php [L,NC]

RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/a\.html$ [OR]  
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/b\.html$ [OR]   
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/c\.html$ [OR]   
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/d\.html$ [OR]    
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/e\.html$ [OR]   
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/f\.html$ [OR]   
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/g\.html$ [OR]   
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/h\.html$ [OR]  
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/i\.html$ [OR]    
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/j\.html$ [OR]    
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/k\.html$ [OR]   
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/l\.html$ [OR]    
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/m\.html$ [OR]   
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/n\.html$ [OR]   
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/o\.html$ [OR]   
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/p\.html$ [OR]  
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/q\.html$ [OR]  
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/r\.html$ [OR]   
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/s\.html$ [OR]   
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/t\.html$ [OR]   
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/u\.html$ [OR]   
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/v\.html$ [OR]   
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/w\.html$ [OR]   
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/x\.html$ [OR]   
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/y\.html$ [OR]   
RewriteCond %{REQUEST_URI}  ^/patients/findadoctor/z\.html$  
RewriteRule ^patients/findadoctor/(.*)\.html$  findadoctor.php?id=$1 [L,NC]

like that there is lots of rules around 250 line please help me...

© Pro Webmasters or respective owner

Related posts about htaccess

Related posts about web-crawlers