This is my htaccess file:
Code:
RewriteEngine ON
RewriteBase /www.imexserve.it/
RewriteRule ^product-category\.html$ pcategory\.php [L]
RewriteCond %{REQUEST_URI} !^(.*)guide-(.*)\.html
RewriteCond %{REQUEST_URI} !^(.*)microbiological-test-(.*)\.html
RewriteCond %{SCRIPT_FILENAME} !^(.*)inpage\.php
RewriteRule ^(.*)\.html$ pcategory\.php?path=$1 [L]
RewriteCond %{REQUEST_URI} !^(.*)guide-(.*)\.html
RewriteCond %{REQUEST_URI} !^(.*)microbiological-test-(.*)\.html
RewriteCond %{SCRIPT_FILENAME} !^(.*)inpage\.php(.*)
RewriteRule ^(.*)-page-(.0-9)\.html$ pcategory\.php?path=$1&pg=$2 [L]
RewriteCond %{REQUEST_URI} ^(.*)guide-(.*)\.html
RewriteRule ^guide-(.*)\.html$ guide\.php?guida=$1 [L]
RewriteCond %{REQUEST_URI} ^(.*)microbiological-test-(.*)\.html
RewriteRule ^microbiological-test-(.*)\.html$ mbtest\.php?mb=$1 [L]
RewriteCond %{SCRIPT_FILENAME} ^(.*)inpage.php
RewriteRule ^(.*)\.html$ inpage\.php?permalink=$1 [L]
without these lines:
Code:
RewriteCond %{SCRIPT_FILENAME} ^(.*)inpage.php
RewriteRule ^(.*)\.html$ inpage\.php?permalink=$1 [L]
everything works good, instead with that when i try to rewrite a page that access to inpage.php?permalink=...
i got a conflict with these lines:
Code:
RewriteCond %{REQUEST_URI} !^(.*)guide-(.*)\.html
RewriteCond %{REQUEST_URI} !^(.*)microbiological-test-(.*)\.html
RewriteCond %{SCRIPT_FILENAME} !^(.*)inpage\.php
RewriteRule ^(.*)\.html$ pcategory\.php?path=$1 [L]
without the rewritecond nothing work except pcategory.php
can u help me plz??
a problem example shoud be like this:
now the problem is
if i visit path.....html so i call pcategory.php?path=.....
everything works good
instead if i call permalink.........html so i call inpage.php?permalink=......
apache process pcategory.php instead of inpage.php
help help help