How htaccess syntax?
I have 3 files (php) a. premium.php
b. direktori2.php
c. direktori_det2.php
this Flow:
example.com/AbelPutra-com (inside premium.php) and i direct to direktori2.php file
---> RewriteRule ^([A-Za-z0-9-()/&]+)/?$ direktori2.php?NamaToko=$1 [NC,L]
this is OK
example.com/AbelPutra-com/Modern-Karaoke (inside direktori2.php) and I direct to direktori_det2.php file
---> RewriteRule ^([A-Za-z0-9-()/&]+)/([A-Za-z0-9-()/&]+)/?$ direktori_det2.php?NamaToko=$1&NamaProduk=$1 [NC,L]
*this is Problem *
or this error Syntax?
When I running in number 2, server read with rewrite in number 1 (always read number 1)
How to fix? Thank you very much before