Hi guys because another script settings in my htaccess some php files in my root cannot read by browser for example www.domain.com/file1.php www.domain.com/file2.php what is htaccess for php files so browser can read? another example folder in my www.domain.com/folder1/ can not read too if i not create htaccess under that folder and using /rewritebase folder1 in the htaccess any one can answer i need this
no, what i am ask here just basic htaccess rule for php files if i open these files in browser they will redirect to anoter page, i just need they not redirect and open like another normal php files www.domain.com/file1.php www.domain.com/file2.php i try add this to htaccess but its not works, what is the right rule? RewriteRule ^ file1.php RewriteRule ^ file2.php This is just basic i believe
What are you trying to do with the code?? That's not even close to correct! If you're trying to change URLs, post an example of the original and new URLs. If that's you're full .htaccess, those two lines, then it might be going bonkers!