View Single Post
Old 11-06-2016, 02:24 PM  
RachelBlackG
Elysium
 
RachelBlackG's Avatar
 
Industry Role:
Join Date: Feb 2011
Location: Prague
Posts: 1,037
:mad 2 webmaster tools questions

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:

Code:
<!-- permalink_structure ends with slash (/) but REQUEST_URI does not end with slash (/) -->
I have my permalink structure set in WP as "Post name" and my htaccess rewrite:

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>
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?
RachelBlackG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote