I'm currently trying to solve some issues I found on my blog, but I can't find solution.
1) Webmaster Tools via robots.txt says:
I have my permalink structure set in WP as "Post name" and my htaccess rewrite:
Is there anything wrong in my htacces? It was all set by plugins.
2) Webmaster Tools report that it can't find my pages and this number increases and increases, but those pages are urls from my other website. How to fix it?
1) Webmaster Tools via robots.txt says:
Code:
<!-- permalink_structure ends with slash (/) but REQUEST_URI does not end with slash (/) -->
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.site.com [NC]
RewriteRule ^(.*)$ http\:\/\/site\.com\/$1 [R=301,L]
# Start WPFC Exclude
# End WPFC Exclude
RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WhatsApp|Mediatoolkitbot)
RewriteCond %{REQUEST_METHOD} !POST
RewriteCond %{HTTPS} !=on
RewriteCond %{REQUEST_URI} !(\/){2}$
RewriteCond %{REQUEST_URI} \/$
RewriteCond %{QUERY_STRING} !.+
RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
RewriteCond /usr/www/virtual/server/www.site.com/wp-content/cache/all/$1/index.html -f
RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
2) Webmaster Tools report that it can't find my pages and this number increases and increases, but those pages are urls from my other website. How to fix it?

Comment