Forum Moderators: phranque
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^$ /wp_core/index.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /wp_core/index.php [L]
RedirectMatch 301 ^/$ http://example.com/blog/
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# Redirect home page to /blog but only if not trying to preview a
# post from the admin site.
RewriteCond %{QUERY_STRING} !preview=true
RewriteRule ^$ http://example.com/blog/ [R=301,L]
RewriteRule ^$ /wp_core/index.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /wp_core/index.php [L]
</IfModule>
Does the first Rule work?
Is the second rule just for (I assume) you? That is, you've skimmed off the people not asking for a preview, so that leaves only the ones who are asking for a preview.
So anyone asking for any nonexistent file of any kind will be sent to example.com/wp_core/index.php ? The same place you go to read previews?