Have you restarted the server after each change to the config - I don't think that's necessary with htaccess files bt it might make a difference? Pete > On 1 May 2022, at 07:13, gordonisnz@xxxxxxxxx wrote: > > Hmm a weekend wasted - thought it was going, but that only lasted 5 > minutes - now not going. > > 1) Ive moved my "office" script into /office2/ subdirectory > > 2) no htaccess in my office2 subdirectory. changed all links/URLs in > my HTML output to go to /office2/ > > 3) the htaccess in my root/main directory has lines to EXCLUDE the > /office2/ directory but I still get redirected to /office/ when I > submit my form. > > my main / top htaccess is:- > > RewriteEngine On > RewriteBase / > > RewriteRule ^(css) - [L] > RewriteRule ^office2/ - [L] - QUESTION: (DOES THIS EXCLUDE SUBDIRECTORY ??) > RewriteRule ^login login.php [NC,QSA,L] > RewriteRule ^(.*)/(.*)$ index.php [NC,QSA,L] > RewriteRule ^(.*)$ index.php [NC,QSA,L] > > > A weekend wasted on a small script. I've got 20 different routines I > wanted to be added, & I can't even do 1 routine - it's now 6 PM on > Sunday night I started after work on Friday. > > any ideas?