URLs ending in / show 404 when exploring with google bot in webmaster tools

Discussion in 'Apache' started by directorio, Nov 7, 2012.

  1. #1
    Hi, I have a WP online shop using WP E-commerce plugin 3.8.9 together with the SEO Yoast plugin.

    My problem in that when exploring the product URLs ending with / in google webmaster tools, it displays 404. But the same URL without / is found and ok. I must day that both URLs show up correctly in browsers and the non / version is redirected to the one ending in /.

    Here is my .htaccess:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Perhaps I could solve this problem by setting a redirect to non / URLs instead. What do you think? Thanks in advance.
     
    directorio, Nov 7, 2012 IP