Quantcast
Channel: User janh - WordPress Development Stack Exchange
Viewing all articles
Browse latest Browse all 40

Answer by janh for does wordpress serve static files?

$
0
0

Usually: no.When WordPress is running on apache with mod_rewrite enabled, it'll use

# BEGIN WordPress<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /RewriteRule ^index\.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</IfModule># END WordPress

To make sure that static files will NOT be served through WP.A plugin might add its own rewrite rules to the .htaccess, but generally WP will not interfere with static files, those will be dealt with by apache directly.


Viewing all articles
Browse latest Browse all 40

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>