Apologies in advance if this issue has been discussed somewhere. I searched multiple strings and couldn't find this problem.
When using Google Webmaster Tools, our site is giving really conflicted "Fetch as Googlebot" results - not to mention that the root URL is the ONLY indexed URL (out of 40) from our sitemap.
When our custom permalink structure is setup as /%postname%/ ...Googlebot only reports success for URLs that do not have a trailing slash.
So when I tell Googlebot to fetch
http://www.example.com/about-us
Googlebot reports "Success!" with a 301 redirect to http://www.example.com/about-us/
BUT - when I tell Googlebot to fetch http://www.example.com/about-us/ ...Googlebot returns a 404 Not Found!
Both URLs open the appropriate webpage when loaded in a browser. . . but my concern is that Google can't index our site!
I had a lot of trouble getting our permalinks to work initially as /%postname%/. To finally get it working, I had to edit our .htaccess file and insert the following:
# BEGIN WordPress
<IfModule mod_rewrite.c>
ErrorDocument 404 /index.php?error=404
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
I don't know what any of that code means - but it seemed to work. Now, I'm wondering if it's responsible for preventing Google from seeing any pages deeper than the root. Does anyone know what's happening here?