I've created a site that is currently partly static while partly managed in Drupal.
I've managed to rewrite static HTML by specifying the /static directory in the following manner above Drupal's .htaccess code.
RewriteEngine on
RewriteRule ^about-us/(.*) static/about-us/$1 [L]
Though I now have a dilemma. I have a directory page which is static:
website.com/products
but then the next level needs to go through the Drupal system:
website.com/products/product-type
to add to complication the next level then should go back to the static directory:
website.com/products/product-type/product
Is this possible? And if so how would you achieve it?
Notes
Please note that these do not need to be dynamic. Can easily declare 'product-type' as there will only be 3. It would be good if I didn't have to declare 'product' because there will be multiple under each 'product type'.
My temporary fix was to just use a different directory in the URL. I added 's' to 'product-type' (website.com/products/product-types) for that specific page, and then at product level went back to remove the s (website.com/products/product-type/product)