Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I am not .htaccess expert, however over time I've built one from various posts that works.

This section

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-s
RewriteRule ^(.*)$ index.php?path=$1 [QSA,L]

Causes all pages go through index.php. That works fine. However, it is forcing at least one of my ajax pages to go through index.php which is not desirable. Does anyone know how I can limit this .htaccess code to only effect during the initial site visit and not ajax loads ?

Thanks.

share|improve this question
add comment (requires an account with 50 reputation)

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.