Hello all!
I've just encountered a bizarre situation. My WP is in the subfolder /blog of my root directory. Everything works perfectly fine, except that when I visit the url mydomain.com/blog/, it gets 404'd, which is expected I guess? But it also gets redirected to mydomain.com/2011/03/25/blog-2/. There is no such page or post, nor have I ever created one, though I don't remember the link behaving like this before. Any thoughts? I can simply redirect /blog to the root directory through the .htaccess, but I'm more puzzled by the cause.
here's my .htaccess if needed:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
<Files wp-config.php>
order allow,deny
deny from all
</Files>
Options -Indexes
The wp-config was moved to the root directory for security purposes, so that's fine.
Cheers.