My permalink structure is this:
/blog/%postname%/
When someone visits mydomain.com/blog or mydomain.com/blog/, they get a WordPress-managed 404. I'd like them to be redirected to mydomain.com.
1) I tried using .htaccess like this:
Redirect /blog http://mydomain.com/
But that breaks all my permalinks like this:
http://mydomain.com//%postname%/
2) I tried this:
Redirect 301 /blog http://mydomain.com/
But that had the same result.
Any suggestions? Thanks!