: Optimize htaccess I have two condition which are conflict RewriteRule ^patients/findadoctor/(.*).html$ subcategorydoctor.php?id= [L,NC] and RewriteRule ^patients/findadoctor/(.*).html$ specilitydoctor.php?id=
I have two condition which are conflict
RewriteRule ^patients/findadoctor/(.*).html$ subcategorydoctor.php?id= [L,NC] and
RewriteRule ^patients/findadoctor/(.*).html$ specilitydoctor.php?id= [L,NC]
How do I set condition for that? I am doing:
RewriteCond %{REQUEST_URI} ^/patients/findadoctor/radiationoncology.html$ [OR]
RewriteCond %{REQUEST_URI} ^/patients/findadoctor/paediatricsurgery.html$ [OR]
RewriteCond %{REQUEST_URI} ^/patients/findadoctor/generalsurgery.html$ [OR]
RewriteCond %{REQUEST_URI} ^/patients/findadoctor/neurosurgery.html$ [OR]
RewriteCond %{REQUEST_URI} ^/patients/findadoctor/neurology.html$ [OR]
RewriteCond %{REQUEST_URI} ^/patients/findadoctor/paediatrics.html$ [OR]
RewriteCond %{REQUEST_URI} ^/patients/findadoctor/paediatriccardiology.html$ [OR]
RewriteCond %{REQUEST_URI} ^/patients/findadoctor/paediatriccardiacanaesthesiology.html$ [OR]
RewriteCond %{REQUEST_URI} ^/patients/findadoctor/paediatriccardiovascularthoracicsurgery.html$ [OR]
RewriteCond %{REQUEST_URI} ^/patients/findadoctor/bonemarrowtransplant.html$ [OR]
RewriteCond %{REQUEST_URI} ^/patients/findadoctor/kidneytransplant.html$ [OR]
RewriteCond %{REQUEST_URI} ^/patients/findadoctor/cardiacanaesthesiology.html$
RewriteRule ^patients/findadoctor/(.*).html$ subcategorydoctor.php?id= [L,NC]
More posts by @Moriarity557
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.