skip to Main Content

How to prevent rewrite .htaccess file conflict problem – Apache

RewriteEngine on RewriteRule ^([^/.]+)/?$ category.php?slug=$1 RewriteRule ^([^/.]+)/([^/.]+)$ product-details.php?slug1=$1&slug=$2 RewriteRule ^([^/.]+)/?$ infrastructure-details.php?slug=$1 what I have already tried This is my htaccess file. problem is when I am trying to execute (infrastructure-details.php?slug=$1) its move to (category.php?slug=$1) conflict with first rule of htaccess.…

VIEW QUESTION
Back To Top
Search