tgrk35
07-24-2008, 08:37 AM
I'm needing to do two different things with htaccess:
Redirect all /whatever/whatever to index.php?page=whatever
I have that so far:
RewriteCond URL (?!/policies_procedures/category_details/).*
RewriteCond URL (?!/documents/category_details/).*
RewriteCond URL (?!/will/).*
RewriteRule /(.+) /index.php\?page=$1 [I]
I'm assuming the RewriteCond URL things say "if it's not these, THEN do the rule"...
(This was all created before I got here)...
Anyway, so what I'm wanting to do is basically allow /documents/exit_questionnaire/admin to be free from all RewriteRules so that index.php goes to index.php and awesome.php goes to awesome.php (within that directory)...
Is that possible?
Not sure I'm explaining this the best.
All help I can get would be greatly appreciated :).
Thanks
Redirect all /whatever/whatever to index.php?page=whatever
I have that so far:
RewriteCond URL (?!/policies_procedures/category_details/).*
RewriteCond URL (?!/documents/category_details/).*
RewriteCond URL (?!/will/).*
RewriteRule /(.+) /index.php\?page=$1 [I]
I'm assuming the RewriteCond URL things say "if it's not these, THEN do the rule"...
(This was all created before I got here)...
Anyway, so what I'm wanting to do is basically allow /documents/exit_questionnaire/admin to be free from all RewriteRules so that index.php goes to index.php and awesome.php goes to awesome.php (within that directory)...
Is that possible?
Not sure I'm explaining this the best.
All help I can get would be greatly appreciated :).
Thanks