Manually creating directory in site root: problematic?

Permalink
Just in case I break anything, will creating a directory like site_root/mobile/ with non-c5 content interfere with my concrete5 website?

 
kieranrushby replied on at Permalink Reply
kieranrushby
I haven't got it to hand to test but everything should rewrite to concrete based on the htaccess getting there first but if you add something like this above your index rewriteRule in your htaccess file it should work

RewriteCond %{REQUEST_URI} !^/NewDirectory(/|$)
kieranrushby replied on at Permalink Reply
kieranrushby
Just tested and I didn't need to modify the htaccess at all just add the directory and go with no problems I could see, however, if you have pretty URLs turned on then ensure you use the correct casing when linking to the new directory.
crstf replied on at Permalink Reply
Hi Kieran, many thanks for testing this out for me. All of my URLs are lower case so hopefully there won't be any problems there. I guess because my directory name is unique from 'config', 'helpers' etc and is separate from the main CMS site Concrete won't actually take notice of it at all? Can anybody clarify this is correct?
kieranrushby replied on at Permalink Best Answer Reply
kieranrushby
Concrete 5 will only take notice of the directories within the directory structure. As long as your directory isn't called any of these then you are good.

You can find them here:
http://www.concrete5.org/documentation/developers/system/directory-...

Cheers

Kieran
crstf replied on at Permalink Reply
Brilliant, many thanks Kieran.