I have the SS based site in the root of the server space. Can I add a folder with the pages not affected by SS in the root folder? If the SS page open in domain.com, can I make a subfolder and get a page without SS opened in domain.com/subfolder?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
In your root .htaccess file, add the following 2 lines after Rewrite Engine On:
RewriteRule ^subfolder$ subfolder/ [R,L]
RewriteRule ^subfolder/(.*)$ subfolder/$1 [L]
Then in your subfolder create a new .htaccess file with the following code:
<IfModule mod_rewrite.c>
RewriteEngine Off
</IfModule>
Actually, all you need is the new .htaccess file in subfolder with the following:
<IfModule mod_rewrite.c>
RewriteEngine Off
</IfModule>