Jump to content

How to skip a folder in Processwire (htaccess)


RDC
 Share

Recommended Posts

Is the right way to get Processwire to skip a folder (ie not process it as its running a different CMS) to put

RewriteCond %{REQUEST_URI} !^/shop/.*$

just before 

RewriteRule ^(.*)$ index.php?it=$1 [L,QSA]

in .htaccess?

Link to comment
Share on other sites

Thanks Horst. Your confirmation made me think a bit harder about what I was asking of the 2 systems to do and I found out I hadn't changed one setting in Opencart which made it go back to the root folder instead of the shop folder thereby handing control back to Processwire. 

Sometimes you just need confirmation that you are doing one step right to lead you in the right direction to find the real problem.

 

Much appreciated.

Robert

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...