The .htaccess code generated by wordpress performs its rewrite action when nor the file nor the directory exists. Ok, but here my problem.
I don’t always want that to be the case: I have cgi-scripts running that also have to be rewritten. So therefore I would like the wordpress code in the .htaccess to exclude .cgi extensions. I could add an extra exclusion line in the wordpress code, but that code is overwritten by wordpress (when I change my permalink settings for example).
Does anybody know of a better idea?
Thanks a lot!
- The topic ‘Excluding certain file extension in wordpress htaccess code’ is closed to new replies.