I want to add rewriteurls in my existing .htacess file.. But when i add new its not working

12 Views Asked by At

below is my .htacess file code which is working fine

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
</IfModule>

but when i add below new rewriterules then that new rules not working. its opening php wampserver main page..

RewriteRule ^([\w-]+)/([\w-]+)/([\w-]+)/([\w-]+)/([\w-]+)/([\w-]+).html?$ detail-page.php?network=$1&country=$2&category=$3&subcategory=$4&package_id=$5    [QSA,L]

kindly tell me where and how to add this new rule so it should work

0

There are 0 best solutions below