pretty urls AND static urls

Permalink
Is it possible to have pretty urls enabled AND access static php files (not part of the c5 structure)?
eg mysite.com/some-page.php

In other words, "some-page.php" sits alongside all of the c5 files on the server root.

I get the c5 "Page Not Found" error when I try to access that file directly.

I have the feeling I'd have to rewrite the standard c5 htaccess file but don't know how to go about doing that.

Can anyone give any pointers?

kirkroberts
 
Remo replied on at Permalink Reply
Remo
this should work, there's a rule by default which checks for an existing file..
RewriteCond %{REQUEST_FILENAME} !-f


are you sure your php file exists?

UPDATE: The code above is of course not a php code, it should be in your htaccess file. The code highlighter has some issues.
kirkroberts replied on at Permalink Reply
kirkroberts
D'oh!

You're absolutely right. I was checking in the wrong subdomain. How embarrassing. Everything is good and working as it should.

Thanks for the gentle reminder.