Forum Moderators: phranque
usually i use this htaccess rule to define default homepage file
RewriteRule ^$ forum.php
but in one of my website, above rule is conflict with the other htaccess
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ blog.php [L,QSA]
so the first rule is not working
please help how is the correct rule so both rule not conflict (maybe joining or split them)
i must found the answer, please help guys
RewriteRule ^$ forum.php [L]
#
RewriteCond $1 !^(blog¦forum)\.php$
RewriteRule ^((archive/)?[^.]+\.php(/.*)?)$ blog.php [L]
Jim
[edited by: jdMorgan at 12:35 am (utc) on Jan. 20, 2009]
but i need to add this rule again, below rule are not working because conflict with above rule, can you please join/split above rule again with below rules
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)$ membersurl/$1
RewriteRule ^(install/¦tour/¦[a-z]+\.php)$ $0 [L]
RewriteRule ^([^/]+)/?$ index.php?z-profile=$1 [QSA]
[edited by: basketmen at 10:40 am (utc) on Jan. 20, 2009]